mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-06 15:16:53 +00:00
Code optimization
This commit is contained in:
7
vender/github.com/astaxie/beego/plugins/authz/authz_policy.csv
Executable file
7
vender/github.com/astaxie/beego/plugins/authz/authz_policy.csv
Executable file
@@ -0,0 +1,7 @@
|
||||
p, alice, /dataset1/*, GET
|
||||
p, alice, /dataset1/resource1, POST
|
||||
p, bob, /dataset2/resource1, *
|
||||
p, bob, /dataset2/resource2, GET
|
||||
p, bob, /dataset2/folder1/*, POST
|
||||
p, dataset1_admin, /dataset1/*, *
|
||||
g, cathy, dataset1_admin
|
|
Reference in New Issue
Block a user