mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #1307 in YUNIONIO/onecloud from ~QUXUAN/onecloud:hotfix/qx-metadata-permission to release/2.8.0
* commit '56f8d57428162d692bbd4cb0fb41382834eb4c0e': 添加普通用户查看metadata权限
This commit is contained in:
@@ -27,6 +27,12 @@ var (
|
||||
Action: PolicyActionGet,
|
||||
Result: rbacutils.UserAllow,
|
||||
},
|
||||
{
|
||||
Service: "compute",
|
||||
Resource: "metadatas",
|
||||
Action: PolicyActionList,
|
||||
Result: rbacutils.UserAllow,
|
||||
},
|
||||
{
|
||||
Service: "compute",
|
||||
Resource: "storages",
|
||||
|
||||
Reference in New Issue
Block a user