Skip to content

Instantly share code, notes, and snippets.

@dipeshhkc
Created June 22, 2021 06:40
Show Gist options
  • Save dipeshhkc/c054949d15b214ae35f3cea92134073b to your computer and use it in GitHub Desktop.
Save dipeshhkc/c054949d15b214ae35f3cea92134073b to your computer and use it in GitHub Desktop.
# Request definition
[request_definition]
r = sub, obj, act
# Policy definition
[policy_definition]
p = sub, obj, act
# Policy effect
[policy_effect]
e = some(where (p.eft == allow))
# Matchers
[matchers]
m = 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