[PR #170] Fix editing users in Organization #30261

Closed
opened 2026-06-17 10:08:48 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/dani-garcia/vaultwarden/pull/170

State: closed
Merged: Yes


This fixes multiple issues:

  1. Make sure the user is actually member of organization we're managing.

  2. Fix #163 by allowing admin users to edit other admin users.

    The implemented change allows admin users to change collection access for other admin users and themselves. Admin user is however not allowed to promote other users to Admin type or drop Admin privileges for other admin users.

  3. Change user_id dynamic parameters to org_user_id as this better reflects the actual information that's provided.

**Original Pull Request:** https://github.com/dani-garcia/vaultwarden/pull/170 **State:** closed **Merged:** Yes --- This fixes multiple issues: 1. [Make sure](https://github.com/mprasil/bitwarden_rs/blob/049aa33f179076a6b1ba3b71351b5d7b95ef4fdc/src/api/core/organizations.rs#L481) the user is actually member of organization we're managing. 2. Fix #163 by [allowing](https://github.com/mprasil/bitwarden_rs/blob/049aa33f179076a6b1ba3b71351b5d7b95ef4fdc/src/api/core/organizations.rs#L486-L497) admin users to edit other admin users. The implemented change allows admin users to change collection access for other admin users and themselves. Admin user is however not allowed to promote other users to Admin type or drop Admin privileges for other admin users. 3. Change `user_id` dynamic parameters to `org_user_id` as this better reflects the actual information that's provided.
GiteaMirror added the pull-request label 2026-06-17 10:08:48 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#30261