mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #870 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:hotfix/qj-more-admin-resources to release/2.4.0
* commit 'e6c93767f0ccb50e4edd0af7895b8a3f24ef9da4': 补充admin resource列表
This commit is contained in:
@@ -41,6 +41,16 @@ var (
|
||||
}
|
||||
yunionconfAdminResources = []string{}
|
||||
logAdminResources = []string{}
|
||||
identityAdminResources = []string{
|
||||
"users",
|
||||
"groups",
|
||||
"domains",
|
||||
"projects",
|
||||
"roles",
|
||||
"policies",
|
||||
"services",
|
||||
"endpoints",
|
||||
}
|
||||
|
||||
adminResources = map[string][]string{
|
||||
"compute": computeAdminResources,
|
||||
@@ -50,6 +60,7 @@ var (
|
||||
"yunionagent": yunionagentAdminResources,
|
||||
"yunionconf": yunionconfAdminResources,
|
||||
"log": logAdminResources,
|
||||
"identity": identityAdminResources,
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user