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: "Kasemir, Kay 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:24:02 +0000
I get it that you'd like to avoid channel access security, but eventually each IOC likely needs it, and you can get started simply like this:

# Example access security config file
ASG(DEFAULT)
{
    RULE(1, READ)
    RULE(1, WRITE)
}

ASG(READONLY)
{
   RULE(1, READ)
   # Nothing in here about WRITE...
}

----


Now you can configure records with

  field(ASG, "READONLY")

and they will be read-only. So "there is some field ...to define the record as ‘read-only’", exactly as you wanted.

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

Navigate by Date:
Prev: Re: Write permission of a record Andrew Johnson via Tech-talk
Next: Re: autosave problem Laurenz Rettig 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 Zhang, Tong 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 
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 ·