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  2022  2023  <20242025  2026  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  <20242025  2026 
<== Date ==> <== Thread ==>

Subject: Re: [EXTERNAL] What is the use case of org.phoebus.pv.PV.onAccessRightsEvent().subscribe()
From: "Kasemir, Kay via Tech-talk" <[email protected]>
To: "Wang, Lin" <[email protected]>, "[email protected]" <[email protected]>
Date: Mon, 10 Jun 2024 12:38:17 +0000


> in which scenario does the access right of an IOC dynamically change

 

Access security settings can be dynamic.

Check the manual, https://epics.anl.gov/EpicsDocumentation/AppDevManuals/AppDevGuide/3.13BookFiles/accessSecurity.html,  for “CALC” within the “RULE”.

 

From: Tech-talk <[email protected]> on behalf of Wang, Lin via Tech-talk <[email protected]>
Date: Monday, June 10, 2024 at 2:59
AM
To: [email protected] <[email protected]>
Subject: [EXTERNAL] What is the use case of org.phoebus.pv.PV.onAccessRightsEvent().subscribe()

Dear all,

 

I saw the following code snippet to monitor the PV access right in Phoebus and also similar things in pvws,

writable_flow = pv.onAccessRightsEvent()

                      .subscribe(this::writableChanged);

 

As I understand, the access right of an IOC or an CA gateway is determined by the Access Security Configuration File when started, and the access right can be obtained by the following code,

 

/** @return <code>true</code> if PV is read-only */

    public boolean isReadonly()

    {

        return pv.isReadonly();

    }


So my question is, in which scenario does the access right of an IOC dynamically change after started and is necessary to be monitored using the onAccessRightEvent() method?

 

 

Thanks,

Lin

 

 

 

 

 

 

 


Replies:
Re: [EXTERNAL] What is the use case of org.phoebus.pv.PV.onAccessRightsEvent().subscribe() Ralph Lange via Tech-talk
References:
What is the use case of org.phoebus.pv.PV.onAccessRightsEvent().subscribe() Wang, Lin via Tech-talk

Navigate by Date:
Prev: CA Lab V1.7.3.3 released (LabVIEW / EPICS interface) Carsten Winkler via Tech-talk
Next: Re: [EXTERNAL] What is the use case of org.phoebus.pv.PV.onAccessRightsEvent().subscribe() Ralph Lange 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  2022  2023  <20242025  2026 
Navigate by Thread:
Prev: What is the use case of org.phoebus.pv.PV.onAccessRightsEvent().subscribe() Wang, Lin via Tech-talk
Next: Re: [EXTERNAL] What is the use case of org.phoebus.pv.PV.onAccessRightsEvent().subscribe() Ralph Lange 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  2022  2023  <20242025  2026 
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·