--- /dev/null
+# readonly.as
+# Access security rules
+# documentation: http://www.aps.anl.gov/epics/EpicsDocumentation/AppDevManuals/AppDevGuide/3.13.0a3BookFiles/accessSecurity.html
+# presentation: EPICS Channel Access Gateway and Access Security
+# https://indico.gsi.de/event/4324/contribution/1/material/slides/0.pdf
+# examples: https://github.com/ISISComputingGroup/EPICS-AccessSecurity/blob/master/default.acf
+
+ASG(readonly) {
+ RULE(1, READ)
+}
parser.add_argument('--esys', required=True, help='The environmental sub system')
args = parser.parse_args()
- server = pcaspy.SimpleServer()
-
prefix = prefix.format(sys=args.sys, sub=args.sub, esys=args.esys)
+ server = pcaspy.SimpleServer()
+ server.initAccessSecurityFile('lufft_opus20_access.as', P=prefix)
server.createPV(prefix, pvdb)
driver = Opus20Driver(args.opus20_hostname)