-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.acf
86 lines (77 loc) · 1.96 KB
/
default.acf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#
# default instrument access security file
# this file is used by both IOCs and EPICS gateways
#
# always use WRITE,TRAPWRITE to allow gateway put logging and IOC CaPutLog to work
#
# $Id$
#
#UAG(instuser) { spudulike }
# comma separated machine list
HAG(instmachine) { localhost, $(ACF_IH1=localhost), $(ACF_IH2=localhost), $(ACF_IH3=localhost), $(ACF_IH4=localhost) }
HAG(localhost) { localhost }
# this is the security group for all records that do not secify a different security group in the ASG field
# Everybody can always read, everybody can write except when EXCLUSIVE is set then only spudulike on localhost can write
ASG(DEFAULT) {
# INPA("$(P=)CS:EXCLUSIVE")
RULE(1, READ)
RULE(1, WRITE, TRAPWRITE)
# RULE(1, WRITE, TRAPWRITE)
# {
# HAG(instmachine)
# }
# RULE(1, WRITE, TRAPWRITE)
# {
# CALC("A=0")
# }
# RULE(1, WRITE, TRAPWRITE)
# {
# UAG(inst)
# HAG(inst)
# CALC("A=1")
# }
}
# this is used by ISISDAE to avoid CaPutLog messages on SAMPLEPARS:SP etc
ASG(NOTRAPW) {
RULE(1, READ)
RULE(1, WRITE)
}
# group used by external PV gateway file gwext.pvlist for most (but not necessarily all) PVs
ASG(GWEXT) {
RULE(1, READ)
RULE(1, WRITE, TRAPWRITE)
{
HAG(instmachine)
}
}
# only read values
ASG(READONLY) {
RULE(1, READ)
}
# only allow writes to field values in access security level zero (ASL0),
# things like VAL are in ASL0 but other fields may not be. The ASL is set
# in the DBD file of the record
ASG(WASL0) {
RULE(1, READ)
RULE(0, WRITE, TRAPWRITE)
# {
# HAG(instmachine)
# }
}
# Security group for records where everybody can always read and write
ASG(ANYBODY) {
RULE(1, READ)
RULE(1, WRITE, TRAPWRITE)
}
ASG(MANAGER) {
INPA("$(P=)CS:MANAGER")
RULE(1, READ)
RULE(1, WRITE, TRAPWRITE)
{
CALC("A=1")
}
}
# Security group to be used by Cryogenic SMS PSU, cannot read or write to anything
ASG(HIDDEN) {
RULE(1, NONE)
}