blob: 88db4ba4eb8aa0d1107cf8d7f216487c9566708f [file]
[request_definition]
r = tenant, sub, obj, act, service
[policy_definition]
p = tenant, sub, obj, act, service, eft
[role_definition]
g = _, _
[policy_effect]
e = some(where (p.eft == allow))
[matchers]
m = r.tenant == p.tenant && g(r.sub, p.sub) && keyMatch(r.obj, p.obj) && (r.act == p.act || p.act == "*") && r.service == p.service