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  <20162017  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  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: ca gateway problem
From: Ralph Lange <[email protected]>
To: EPICS Tech-Talk <[email protected]>
Date: Wed, 4 May 2016 10:02:42 +0200

On 04/05/2016 06:36, Silver wrote:

when I test ca gateway, I write the access file like:
ASG(DEFAULT) {
  RULE(0,READ)
}
then can't access the  PV from server side.
If changing to RULE(1,READ), that's ok. I think for level0, it should be able to access the VAL field, but why can't here?
thanks a lot for your help.

Hi Geyang,

While the GW uses the same access security library as the IOC, the assignment of AS levels is different.
The GW is proxying pure Channel Access connections. As it does not know about the concepts of the EPICS database, terms like "record" or "field" do not have a meaning inside a GW.

Instead, access security levels are assigned in the GW's pvlist file. Its pattern lines may contain an <asl> value, e.g.

    <pv-name-pattern> ALLOW [<asg> [<asl>]]

The specified access security level is assigned to *all* PVs that match the <pattern>.
See the GW documentation [1] for more details.

Cheers,
~Ralph

[1] http://www.aps.anl.gov/epics/EpicsDocumentation/ExtensionsManuals/Gateway/Gateway.html#AccessSecurity



References:
ca gateway problem Silver

Navigate by Date:
Prev: Re: Re: ca gateway problem Ralph Lange
Next: RE: Reg programming in EPICS environment for master slave control Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Re: ca gateway problem Ralph Lange
Next: Match calloc() with free() for asynNDArrayDriver::pArrays Henrique Almeida
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·