EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20222023  2024  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  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Write permission of a record
From: "Zhang, Tong via Tech-talk" <tech-talk at aps.anl.gov>
To: Andrew Johnson <anj at anl.gov>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 1 Aug 2022 21:20:26 +0000

Thanks Andrew, that’s exactly what I wanted! DISP will make my record naturally function read-only.

Also thanks go to Ned and Kay. Yes the ASG is also used as a global management approach for the access permissions.

 

Cheers,

Tong

 

From: Andrew Johnson <anj at anl.gov>
Sent: Monday, August 1, 2022 16:07
To: Zhang, Tong <ZhangT at frib.msu.edu>; tech-talk at aps.anl.gov
Subject: Re: Write permission of a record

 

[EXTERNAL] This email originated from outside of FRIB

Hi Tong,

There is a field in every record type called DISP (Disable Put) which, when set to a non-zero value, prevents any other field of that record from being written to over Channel Access or PV Access. You can still write to the DISP field remotely though, and it doesn't prevent DB links from other records in the same IOC from changing any record fields though, so it might not be quite what you're after but it's pretty close.

- Andrew

On 8/1/22 2:50 PM, Zhang, Tong via Tech-talk wrote:

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



-- 
Complexity comes for free, Simplicity you have to work for.

References:
Write permission of a record Zhang, Tong via Tech-talk
Re: Write permission of a record Andrew Johnson via Tech-talk

Navigate by Date:
Prev: Re: autosave problem Laurenz Rettig via Tech-talk
Next: streamdevice in command only 2048 length 孙彬 via Tech-talk
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  <20222023  2024 
Navigate by Thread:
Prev: Re: Write permission of a record Andrew Johnson via Tech-talk
Next: Re: Write permission of a record Kasemir, Kay via Tech-talk
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  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·