diff options
Diffstat (limited to '')
| -rw-r--r-- | auth_model.ini | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/auth_model.ini b/auth_model.ini new file mode 100644 index 0000000..44507a6 --- /dev/null +++ b/auth_model.ini @@ -0,0 +1,15 @@ +[request_definition] +r = sub, obj, act + +[policy_definition] +p = sub, obj, act + +[role_definition] +g = _, _ +g2 = _, _ + +[policy_effect] +e = some(where (p.eft == allow)) + +[matchers] +m = g(r.sub, p.sub) && g2(r.obj, p.obj) && regexMatch(r.act, p.act) |