Skip to content
Snippets Groups Projects
Commit 53ec602e authored by mooney's avatar mooney
Browse files

No commit message

No commit message
parent 803edb3a
No related branches found
No related tags found
No related merge requests found
HAG(local) {mooneylinux.aps.anl.gov}
HAG(remote) {iocxxx, ioctim.aps.anl.gov}
UAG(owner) {mooney}
UAG(user) {bcda1, epicsadm, vw5}
ASG(DEFAULT) {
INPA($(P)AS_OnOff)
INPB($(P)LocalAccess)
INPC($(P)RemoteAccess)
RULE(1,READ)
RULE(1,WRITE) {
# write access for everybody if AS_OnOff is off
CALC("A=1")
}
RULE(1,WRITE) {
# write access for owner and user on a local host if LocalAccess==1
HAG(local)
UAG(owner, user)
CALC("B>.5")
}
RULE(1,WRITE){
# write access for user on remote host if RemoteAccess==1
UAG(user)
HAG(remote)
CALC("C=1")
}
}
ASG(controlFields) {
RULE(1,READ)
RULE(0,WRITE) {
UAG(owner)
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment