Merge pull request #578 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:hotfix/qj-add-quota-usage-default-policy to release/2.3.0

* commit '16f06ff081d0625e4d9dde2abc7ef70da91758cd':
  增加 quotas 和 usages 的缺省权限
This commit is contained in:
邱剑
2018-11-27 15:10:36 +08:00
+12
View File
@@ -60,6 +60,18 @@ var (
Action: PolicyActionGet,
Result: rbacutils.UserAllow,
},
{
Service: "compute",
Resource: "quotas",
Action: PolicyActionGet,
Result: rbacutils.OwnerAllow,
},
{
Service: "compute",
Resource: "usages",
Action: PolicyActionGet,
Result: rbacutils.OwnerAllow,
},
{
Service: "yunionagent",
Resource: "notices",