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

Subject: Re: [EXTERNAL] What is the use case of org.phoebus.pv.PV.onAccessRightsEvent().subscribe()
From: "Kasemir, Kay via Tech-talk" <tech-talk at aps.anl.gov>
To: "Wang, Lin" <wanglin at ihep.ac.cn>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
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 <tech-talk-bounces at aps.anl.gov> on behalf of Wang, Lin via Tech-talk <tech-talk at aps.anl.gov>
Date: Monday, June 10, 2024 at 2:59
AM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
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  <2024
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  <2024
ANJ, 10 Jun 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·