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:
李泽玺
2019-03-22 11:55:59 +08:00
+6
View File
@@ -27,6 +27,12 @@ var (
Action: PolicyActionGet,
Result: rbacutils.UserAllow,
},
{
Service: "compute",
Resource: "metadatas",
Action: PolicyActionList,
Result: rbacutils.UserAllow,
},
{
Service: "compute",
Resource: "storages",