Browse Source
send_invite computed access_all from the invite permissions but never wrote the manage_users / manage_groups / manage_policies flags onto the new membership, so a Custom member invited with a management permission checked was created without it (the web-vault sends everything in a single invite POST, with no follow-up edit). Mirror the handling in edit_member and persist the flags at invite time. Only Owners can invite Custom members, so the caller is always authorized to grant these; the flags are gated on the Custom type and forced false for every other type.pull/7397/head
1 changed files with 11 additions and 0 deletions
Loading…
Reference in new issue