mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-21 14:19:49 +08:00
fix permission 20220416
This commit is contained in:
@@ -152,9 +152,18 @@ var (
|
||||
"list",
|
||||
},
|
||||
},
|
||||
"log": {
|
||||
"actions": {
|
||||
"notify": {
|
||||
"notifications": {
|
||||
"list",
|
||||
"get",
|
||||
},
|
||||
"robots": {
|
||||
"list",
|
||||
"get",
|
||||
},
|
||||
"receivers": {
|
||||
"list",
|
||||
"get",
|
||||
},
|
||||
},
|
||||
"devtool": {
|
||||
|
||||
@@ -113,6 +113,11 @@ policy:
|
||||
'*': deny
|
||||
'*':
|
||||
'*': allow
|
||||
notify:
|
||||
events:
|
||||
'*': deny
|
||||
'*':
|
||||
'*': allow
|
||||
identity:
|
||||
events:
|
||||
'*': deny
|
||||
@@ -132,8 +137,9 @@ policy:
|
||||
purge: allow
|
||||
log:
|
||||
actions:
|
||||
list: deny
|
||||
get: deny
|
||||
list:
|
||||
'*': allow
|
||||
splitable: deny
|
||||
yunionconf:
|
||||
'*':
|
||||
'*': allow
|
||||
@@ -154,8 +160,6 @@ policy:
|
||||
identity:
|
||||
'*':
|
||||
'*': deny
|
||||
get: allow
|
||||
list: allow
|
||||
`
|
||||
|
||||
var normalUserPolicy = `
|
||||
|
||||
Reference in New Issue
Block a user