未验证 提交 2c9ada7c 编写于 作者: H hongming

fix: allow workspace-viewer view audits log

Signed-off-by: Nhongming <talonwan@yunify.com>
上级 ffa3741a
......@@ -624,7 +624,7 @@ func getWorkspaceViewer(workspaceName string) *rbac.ClusterRole {
{
Verbs: []string{"get", "list"},
APIGroups: []string{"openpitrix.io"},
Resources: []string{"applications", "apps", "apps/versions", "repos", "categories", "attachments"},
Resources: []string{"applications", "apps", "apps/events", "apps/action", "apps/audits", "apps/versions", "repos", "categories", "attachments"},
},
}
return viewer
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册