From abb250bbb16250d673bb5ac31f882dc6c2eab804 Mon Sep 17 00:00:00 2001 From: timmmooney <mooney@aps.anl.gov> Date: Tue, 13 Jan 2015 17:54:25 +0000 Subject: [PATCH] just enough for caputRecorder --- iocBoot/accessSecurity.acf | 38 ++++---------------------------------- 1 file changed, 4 insertions(+), 34 deletions(-) diff --git a/iocBoot/accessSecurity.acf b/iocBoot/accessSecurity.acf index 88e0763..e4d0839 100644 --- a/iocBoot/accessSecurity.acf +++ b/iocBoot/accessSecurity.acf @@ -1,40 +1,10 @@ -HAG(local) {mooneylinux.aps.anl.gov} -HAG(remote) {iocxxx, ioctim.aps.anl.gov} -UAG(owner) {mooney} -UAG(user) {bcda1, epicsadm, vw5} - +HAG(workstation) {mooneylinux.aps.anl.gov} +UAG(user) {mooney} ASG(DEFAULT) { - INPA($(P)AS_OnOff) - INPB($(P)LocalAccess) - INPC($(P)RemoteAccess) RULE(1,READ) RULE(1,WRITE,TRAPWRITE) { -# write access and trapwrite for owner a local host - HAG(local) - UAG(owner) - } - 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 + HAG(workstation) UAG(user) - HAG(remote) - CALC("C=1") - } -} - -ASG(controlFields) { - RULE(1,READ) - RULE(0,WRITE) { - UAG(owner) } - + RULE(1,WRITE) } -- GitLab