snapshot of https://github.com/casbin/casbin.git (master, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
16
examples/subject_priority_policy.csv
Normal file
16
examples/subject_priority_policy.csv
Normal file
@@ -0,0 +1,16 @@
|
||||
p, root, data1, read, deny
|
||||
p, admin, data1, read, deny
|
||||
|
||||
p, editor, data1, read, deny
|
||||
p, subscriber, data1, read, deny
|
||||
|
||||
p, jane, data1, read, allow
|
||||
p, alice, data1, read, allow
|
||||
|
||||
g, admin, root
|
||||
|
||||
g, editor, admin
|
||||
g, subscriber, admin
|
||||
|
||||
g, jane, editor
|
||||
g, alice, subscriber
|
||||
|
Reference in New Issue
Block a user