Skip to content

Commit

Permalink
Update rbac roles & policies to match new model
Browse files Browse the repository at this point in the history
  • Loading branch information
sebd71 authored Nov 19, 2020
1 parent 8ae6af2 commit cdd4764
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rbac_iotbzh.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ p = sub, obj, act

[role_definition]
g = _, _
g2 = _, _

[policy_effect]
e = some(where (p.eft == allow))

[matchers]
m = g(r.sub, p.sub) && regexMatch(r.obj, p.obj) && r.act == p.act
m = g(r.sub, p.sub) && g2(r.obj, p.obj) && regexMatch(r.act, p.act)

0 comments on commit cdd4764

Please sign in to comment.