Merge pull request #8171 from ioito/hotfix/qx-dnszone-cache-policy

fix: 允许域管理员可以看到共享的dns zone cache列表
This commit is contained in:
yunion-ci-robot
2020-09-30 16:13:47 +08:00
committed by GitHub
+12
View File
@@ -143,6 +143,18 @@ var (
Action: PolicyActionGet,
Result: rbacutils.Allow,
},
{
Service: api.SERVICE_TYPE,
Resource: "dns_zonecaches",
Action: PolicyActionList,
Result: rbacutils.Allow,
},
{
Service: api.SERVICE_TYPE,
Resource: "dns_zonecaches",
Action: PolicyActionGet,
Result: rbacutils.Allow,
},
},
},
{