1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 <2022> 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 <2022> 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Write permission of a record |
From: | "Arnold, Ned D. via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, "Zhang, Tong" <ZhangT at frib.msu.edu> |
Date: | Mon, 1 Aug 2022 20:00:59 +0000 |
> I would hope there is some field could be used to define the record as ‘read-only’,
The "rules" in channel access security can include a value from a process variable, so you could define a variable such that when "PV==1" then predesignated records could go to a "read-only" state.
You can also write your own custom records that would have a "read-only" field, if that is what you really want, but for the standard records in EPICS base you would use channel access security.
Ned
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Zhang, Tong via Tech-talk <tech-talk at aps.anl.gov>
Sent: Monday, August 1, 2022 02:50 PM To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov> Subject: Write permission of a record Hi,
I know that channel access security can control the record write permission based on a wide range of rules, but I’m wondering if EPICS has some other way to control the write permission of a record generally from the record definition level? To make it clearer, I would hope there is some field could be used to define the record as ‘read-only’, that is all external CA put request should be denied, the data only could be updated through the internal device support.
Thanks, Tong |