Experimental Physics and Industrial Control System
|
> 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()
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 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|