mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user