fix(notify): allow list and get topics for all

This commit is contained in:
rainzm
2021-09-27 18:24:20 +08:00
parent 78115949a0
commit e300795f42
+18
View File
@@ -73,6 +73,24 @@ var (
},
},
},
{
Auth: true,
Scope: rbacutils.ScopeSystem,
Rules: []rbacutils.SRbacRule{
{
Service: api.SERVICE_TYPE,
Resource: "topics",
Action: PolicyActionGet,
Result: rbacutils.Allow,
},
{
Service: api.SERVICE_TYPE,
Resource: "topics",
Action: PolicyActionList,
Result: rbacutils.Allow,
},
},
},
}
)