diff --git a/pkg/api/accesscontrol.go b/pkg/api/accesscontrol.go index a4528afa62338..cda6f96b40933 100644 --- a/pkg/api/accesscontrol.go +++ b/pkg/api/accesscontrol.go @@ -292,12 +292,12 @@ func (hs *HTTPServer) declareFixedRoles() error { Description: "Create, read, write, or delete a team as well as controlling team memberships.", Group: "Teams", Permissions: []ac.Permission{ - {Action: ac.ActionTeamsCreate}, - {Action: ac.ActionTeamsDelete, Scope: ac.ScopeTeamsAll}, + // {Action: ac.ActionTeamsCreate}, + // {Action: ac.ActionTeamsDelete, Scope: ac.ScopeTeamsAll}, {Action: ac.ActionTeamsPermissionsRead, Scope: ac.ScopeTeamsAll}, - {Action: ac.ActionTeamsPermissionsWrite, Scope: ac.ScopeTeamsAll}, + // {Action: ac.ActionTeamsPermissionsWrite, Scope: ac.ScopeTeamsAll}, {Action: ac.ActionTeamsRead, Scope: ac.ScopeTeamsAll}, - {Action: ac.ActionTeamsWrite, Scope: ac.ScopeTeamsAll}, + // {Action: ac.ActionTeamsWrite, Scope: ac.ScopeTeamsAll}, }, }, Grants: []string{string(org.RoleAdmin)},