mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-16 17:02:14 -05:00
[PR #5556] [MERGED] Show assigned collections on member edit #36722
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/5556
Author: @BlackDex
Created: 2/7/2025
Status: ✅ Merged
Merged: 2/7/2025
Merged by: @dani-garcia
Base:
main← Head:show-collections-on-member-edit📝 Commits (1)
af5c543Show assigned collections on member edit📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/db/models/organization.rs(+1 -1)📄 Description
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 theaccess_allflag set. This commit will change that to use theaccess_allflag 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
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.