[PR #5556] [MERGED] Show assigned collections on member edit #36722

Closed
opened 2026-07-13 21:19:13 -05:00 by GiteaMirror · 0 comments
Owner

📋 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: mainHead: show-collections-on-member-edit


📝 Commits (1)

  • af5c543 Show 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 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


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dani-garcia/vaultwarden/pull/5556 **Author:** [@BlackDex](https://github.com/BlackDex) **Created:** 2/7/2025 **Status:** ✅ Merged **Merged:** 2/7/2025 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `show-collections-on-member-edit` --- ### 📝 Commits (1) - [`af5c543`](https://github.com/dani-garcia/vaultwarden/commit/af5c543946cccf7417f53ff2ac274752322baa44) Show assigned collections on member edit ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/db/models/organization.rs` (+1 -1) </details> ### 📄 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 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-07-13 21:19:13 -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#36722