14 lines
375 B
Plaintext
14 lines
375 B
Plaintext
[request_definition]
|
|
r = sub, dom, obj, act
|
|
|
|
[policy_definition]
|
|
p = sub, dom, obj, act
|
|
|
|
[role_definition]
|
|
g = _, _, _
|
|
|
|
[policy_effect]
|
|
e = some(where (p.eft == allow))
|
|
|
|
[matchers]
|
|
m = (g(r.sub, p.sub) || g(r.sub, p.sub, r.dom) || keyMatch(r.sub, p.sub)) && (p.dom=="*" || r.dom == p.dom) && ( p.obj=="*" || r.obj == p.obj) && (p.act=="*" || r.act == p.act) || r.sub=="root" |