Skip to content

Commit

Permalink
org admin team ro (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
noamApps authored Jun 26, 2024
1 parent 3c62d5e commit bdefa5b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/api/accesscontrol.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)},
Expand Down

0 comments on commit bdefa5b

Please sign in to comment.