Make sure the user is actually member of organization we're managing.
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.
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Original Pull Request: https://github.com/dani-garcia/vaultwarden/pull/170
State: closed
Merged: Yes
This fixes multiple issues:
Make sure the user is actually member of organization we're managing.
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.
Change
user_iddynamic parameters toorg_user_idas this better reflects the actual information that's provided.