[PR #5488] [MERGED] Allow all manager to create collections again #31233

Closed
opened 2026-06-17 11:14:07 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dani-garcia/vaultwarden/pull/5488
Author: @BlackDex
Created: 1/28/2025
Status: Merged
Merged: 1/29/2025
Merged by: @dani-garcia

Base: mainHead: allow-managers-to-create-collections


📝 Commits (2)

  • 814f6d4 Allow all manager to create collections again
  • 692967f Fix some small issues

📊 Changes

3 files changed (+19 additions, -15 deletions)

View changed files

📝 src/api/core/organizations.rs (+14 -13)
📝 src/db/models/collection.rs (+4 -1)
📝 src/db/models/organization.rs (+1 -1)

📄 Description

This commit checks if the member is a manager or better, and if so allows it to createCollections. We actually check if it is less then a Manager, since the limitCollectionCreation should be set to false to allow it and true to prevent.

This should fix an issue discussed in #5484

Fixes #5489


🔄 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/5488 **Author:** [@BlackDex](https://github.com/BlackDex) **Created:** 1/28/2025 **Status:** ✅ Merged **Merged:** 1/29/2025 **Merged by:** [@dani-garcia](https://github.com/dani-garcia) **Base:** `main` ← **Head:** `allow-managers-to-create-collections` --- ### 📝 Commits (2) - [`814f6d4`](https://github.com/dani-garcia/vaultwarden/commit/814f6d4dc2fc3e0140ce32253bd09ae021eca59b) Allow all manager to create collections again - [`692967f`](https://github.com/dani-garcia/vaultwarden/commit/692967f64057365bee2ad0c440e5044a286be181) Fix some small issues ### 📊 Changes **3 files changed** (+19 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `src/api/core/organizations.rs` (+14 -13) 📝 `src/db/models/collection.rs` (+4 -1) 📝 `src/db/models/organization.rs` (+1 -1) </details> ### 📄 Description This commit checks if the member is a manager or better, and if so allows it to createCollections. We actually check if it is less then a Manager, since the `limitCollectionCreation` should be set to false to allow it and true to prevent. This should fix an issue discussed in #5484 Fixes #5489 --- <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-06-17 11:14:07 -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#31233