Automatic merge from release/2.3.0 -> release/2.4.0

* commit 'd3d1c78a8d4b3d5262907a81e960d6cb645fe7ac':
  增加 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",