mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-23 08:32:45 -05:00
[GH-ISSUE #6199] Cannot Downgrade Collection Permission from "Manage" to "Edit" via Web UI #19141
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?
Originally created by @captainloogie on GitHub (Aug 19, 2025).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/6199
Prerequisites
Vaultwarden Support String
Your environment (Generated via diagnostics page)
Config & Details (Generated via diagnostics page)
Show Config & Details
Failed HTTP Checks:
Config:
Vaultwarden Build Version
1.34.3
Deployment method
Official Container Image
Custom deployment method
No response
Reverse Proxy
nginx
Host/Server Operating System
Linux
Operating System Version
Ubuntu 24.04
Clients
Desktop
Client Version
Chrome 139.0.7258.67 (Official Build) (64-bit)
Steps To Reproduce
Subject of the Issue.
When attempting to change a user's collection permission from Manage collection to Edit items via the Web UI, the change does not persist. The permission automatically reverts to Manage collection upon saving, despite the application displaying a success message. Other permission changes work as expected.
Steps to Reproduce.
Log in to the Vaultwarden Admin Panel.
Navigate to the Members section and select a user who currently has the Manage collection permission for a specific collection.
Go to the Collections tab for that user.
Click the dropdown menu for the collection's permission and select Edit items.
Click the Save button.
Expected Result
Expected Behavior.
The user's permission for the selected collection should be updated to Edit items. When returning to the user's settings, the dropdown should reflect the new, lower-level permission.
Actual Result
Observed Behavior.
After clicking Save, a success message, "Edited user [user email]," is displayed.
However, when the page is reloaded or the user's settings are revisited, the permission for the collection is still set to Manage collection.
This behavior is specific to downgrading to the Edit items permission. Other permission changes (e.g., from View to Manage) function as intended.
The server's event log also confirms a successful Edited user event, indicating the issue is not a failure to save, but rather an incorrect value being saved.
Logs
Screenshots or Videos
No response
Additional Context
Troubleshooting Performed.
Attempted to downgrade the permission directly through the Web UI multiple times.
Completely removed the user from the collection, saved the changes, and then re-added them with the Edit items permission. The permission still defaulted to Manage collection upon saving.
Restarted the Vaultwarden Docker container/service.
@BlackDex commented on GitHub (Aug 19, 2025):
Vaultwarden does not support fine-grained permissions (yet), and we currently abuse some way of working to keep the old manager role active. This does mean we in some situations we modify the
EditandCan Manageaccording to the user's role and rights.Therefor this sometimes looks like invalid or weird. There also isn't anything useful we can return to indicate we abuse this in some way. It's either an error or a simple ok.
Since this is a works-as-intended, I'm going to close this.