fix permission 20220416

This commit is contained in:
Qiu Jian
2022-04-16 02:32:12 +08:00
parent b641b485b6
commit d2fa031a5c
2 changed files with 19 additions and 6 deletions
+11 -2
View File
@@ -152,9 +152,18 @@ var (
"list",
},
},
"log": {
"actions": {
"notify": {
"notifications": {
"list",
"get",
},
"robots": {
"list",
"get",
},
"receivers": {
"list",
"get",
},
},
"devtool": {
+8 -4
View File
@@ -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 = `