Skip to content

Commit

Permalink
Add IoT.bzh rbac config file
Browse files Browse the repository at this point in the history
Change-Id: I263d11e89939222641417e940877bfec97c01854
Signed-off-by: Sebastien Douheret <[email protected]>
  • Loading branch information
sebd71 committed Feb 25, 2020
1 parent af57b8e commit 8ae6af2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions rbac_iotbzh.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[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) && regexMatch(r.obj, p.obj) && r.act == p.act

0 comments on commit 8ae6af2

Please sign in to comment.