You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
357 B
14 lines
357 B
[request_definition]
|
|
r = type, app, sub, obj, act, model
|
|
|
|
[policy_definition]
|
|
p = type, app, sub, obj, act, model
|
|
|
|
[role_definition]
|
|
g = _, _, _
|
|
|
|
[policy_effect]
|
|
e = some(where (p.eft == allow))
|
|
|
|
[matchers]
|
|
m = g(r.sub, p.sub, r.app) && (r.type == p.type && r.app == p.app && ParamsMatch(r.obj,p.obj) && r.act == p.act && r.model == p.model) || r.sub == "1"
|