Skip to content

Commit

Permalink
refactor: [#615] more human readable policy file
Browse files Browse the repository at this point in the history
  • Loading branch information
mario-nt committed Jul 3, 2024
1 parent e13f579 commit 5dc9dca
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions casbin/policy.csv
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
p, true, AddCategory
p, true, DeleteCategory
p, true, GetSettings
p, true, GetSettingsSecret
p, true, AddTag
p, true, DeleteTag
p, true, DeleteTorrent
p, true, BanUser
# Admin user policies
p, admin, AddCategory
p, admin, DeleteCategory
p, admin, GetSettings
p, admin, GetSettingsSecret
p, admin, AddTag
p, admin, DeleteTag
p, admin, DeleteTorrent
p, admin, BanUser

0 comments on commit 5dc9dca

Please sign in to comment.