Last active
June 23, 2021 08:50
-
-
Save dipeshhkc/e16e3b8554f429ec0b8cf14bfd065fc5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[request_definition] | |
r = sub, obj, act | |
[policy_definition] | |
p = sub, obj, act | |
[role_definition] | |
g = _, _ | |
[policy_effect] | |
e = some(where (p.eft == allow)) | |
[matchers] | |
m = g(r.sub, p.sub) && r.obj == p.obj && r.act == p.act |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment