fix: opsadmin should have project list and get permission (#13894)

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
This commit is contained in:
Jian Qiu
2022-04-05 11:15:05 +08:00
committed by GitHub
co-authored by Qiu Jian
parent 87a7d4efe0
commit 243f2a0987
+12
View File
@@ -46,9 +46,15 @@ policy:
image:
'*':
'*': allow
identity:
'*':
'*': deny
list: allow
get: allow
log:
actions:
list: deny
get: deny
`
var secAdminPolicy = `
@@ -104,6 +110,7 @@ policy:
log:
actions:
list: deny
get: deny
yunionconf:
'*':
'*': allow
@@ -119,6 +126,11 @@ policy:
'*': deny
get: allow
list: allow
identity:
'*':
'*': deny
list: allow
get: allow
`
var normalUserPolicy = `