Skip to content

Commit 7b21f82

Browse files
committed
refactor: [torrust#615] policy file allows admin user to perform any action
1 parent f319417 commit 7b21f82

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

casbin/policy.csv

+6-13
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
1-
p, alice, data1, read
2-
p, bob, data2, write
3-
p, data2_admin, data2, read
4-
p, data2_admin, data2, write
5-
p, admin, A
6-
p, testuser, AddCategory
7-
p, admin, AddCategory
8-
p, admin, ACTION::DeleteCategory
9-
10-
11-
g, alice, data2_admins
12-
13-
g, alice, data2_admin
1+
p, true, AddCategory
2+
p, true, DeleteCategory
3+
p, true, GetSettings
4+
p, true, GetSettingsSecret
5+
p, true, AddTag
6+
p, true, DeleteTag

0 commit comments

Comments
 (0)