PagerMaid-Pyro/pagermaid/assets/gm_model.conf

15 lines
289 B
Plaintext
Raw Permalink Normal View History

2022-05-23 12:40:30 +00:00
[request_definition]
r = uid, permission, act
[policy_definition]
p = uid, permission, act, eft
[role_definition]
g = _, _
[policy_effect]
e = some(where (p.eft == allow)) && !some(where (p.eft == deny))
[matchers]
m = g(r.uid, p.uid) && r.permission == p.permission && r.act == p.act