增加 quotas 和 usages 的缺省权限

This commit is contained in:
Qiu Jian
2018-11-27 15:04:18 +08:00
parent 32e329f633
commit 16f06ff081
+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",