Merge pull request #1159 from wansir/master

fix: allow workspace-viewer view audits log
This commit is contained in:
KubeSphere CI Bot
2019-10-24 11:22:54 +08:00
committed by GitHub

View File

@@ -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