Skip to content

Commit

Permalink
remove org write perms for org admins (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
noamApps authored Jun 25, 2024
1 parent e072ccc commit 3c62d5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/api/accesscontrol.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ func (hs *HTTPServer) declareFixedRoles() error {
Group: "Organizations",
Permissions: ac.ConcatPermissions(orgReaderRole.Role.Permissions, []ac.Permission{
{Action: ac.ActionOrgsPreferencesRead},
{Action: ac.ActionOrgsWrite},
{Action: ac.ActionOrgsPreferencesWrite},
// {Action: ac.ActionOrgsWrite},
// {Action: ac.ActionOrgsPreferencesWrite},
}),
},
Grants: []string{string(org.RoleAdmin)},
Expand Down

0 comments on commit 3c62d5e

Please sign in to comment.