Merge pull request #14039 from swordqiu/hotfix/qj-fix-permission-20220416

fix permission 20220416
This commit is contained in:
Zexi Li
2022-04-16 03:55:57 +08:00
committed by GitHub
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 = `