ferry/config/rbac_model.conf

11 lines
249 B
Plaintext
Raw Permalink Normal View History

2020-07-13 20:33:20 +08:00
[request_definition]
r = sub, obj, act
[policy_definition]
p = sub, obj, act
[policy_effect]
e = some(where (p.eft == allow))
[matchers]
m = r.sub == p.sub && (keyMatch2(r.obj, p.obj) || keyMatch(r.obj, p.obj)) && (r.act == p.act || p.act == "*")