Skip to content

Commit

Permalink
Do not warn on missing permissions / bad migrate while setting group …
Browse files Browse the repository at this point in the history
…acl (#7003)
  • Loading branch information
nopcoder authored Nov 16, 2023
1 parent 72a4f75 commit 49e5585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ func (c *Controller) SetGroupACL(w http.ResponseWriter, r *http.Request, body ap
Permission: model.ACLPermission(body.Permission),
}

err := acl.WriteGroupACL(ctx, c.Auth, groupID, newACL, time.Now(), true)
err := acl.WriteGroupACL(ctx, c.Auth, groupID, newACL, time.Now(), false)
if c.handleAPIError(ctx, w, r, err) {
return
}
Expand Down

0 comments on commit 49e5585

Please sign in to comment.