Show assigned collections on member edit #199

Closed
opened 2025-07-08 08:42:33 -04:00 by AtHeartEngineer · 0 comments

Originally created by @BlackDex on 2/7/2025

Because we were using the has_full_access() function we did not returned assigned collections for an owner/admin even if the did not have the access_all flag set. This commit will change that to use the access_all flag instead, and return assigned collections too.

While saving a member and having it assigned collections would still save those rights, and it was also visible in the collection management, it wasn't at the member it self. So, it did work, but was not visible.

Fixes #5554
Fixes #5555

*Originally created by @BlackDex on 2/7/2025* Because we were using the `has_full_access()` function we did not returned assigned collections for an owner/admin even if the did not have the `access_all` flag set. This commit will change that to use the `access_all` flag instead, and return assigned collections too. While saving a member and having it assigned collections would still save those rights, and it was also visible in the collection management, it wasn't at the member it self. So, it did work, but was not visible. Fixes #5554 Fixes #5555
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#199