Created
November 13, 2019 10:37
-
-
Save aslamhadi/ad6d524608c3cb903666200c809db232 to your computer and use it in GitHub Desktop.
This file contains 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, dom, obj, act | |
[policy_definition] | |
p = sub, dom, obj, act | |
[role_definition] | |
g = _, _, _ | |
[policy_effect] | |
e = some(where (p.eft == allow)) | |
[matchers] | |
m = g(r.sub, p.sub, r.dom) && r.dom == p.dom && r.obj == p.obj && r.act == p.act || r.sub == "godlike" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment