Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 353 Bytes
[request_definition]
r = sub, obj, act, suf
[policy_definition]
p = sub, obj, act, suf
[role_definition]
g = _, _
[policy_effect]
e = some(where (p.eft == allow))
[matchers]
m = g(r.sub, p.sub) && keyMatch(r.obj, p.obj) && regexMatch(r.suf, p.suf) && r.act == p.act
#m = r.sub=p.sub && g2(r.obj, p.obj) && regexMatch(r.obj, p.obj) && r.act == p.act