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