mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-24 09:03:15 -05:00
[PR #4812] [MERGED] make access_all optional #3363
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/4812
Author: @stefan0xC
Created: 8/1/2024
Status: ✅ Merged
Merged: 8/1/2024
Merged by: @dani-garcia
Base:
main← Head:access-all-optional📝 Commits (2)
0faebb6make access_all optional56d93d1use #[serde(default)] instead of unwrapping📊 Changes
1 file changed (+8 additions, -10 deletions)
View changed files
📝
src/api/core/organizations.rs(+8 -10)📄 Description
As noted here https://github.com/dani-garcia/vaultwarden/issues/4775#issuecomment-2251024214 the
access_allflag has been removed in the newer web-vaults resulting in an error when editing a user:Note: Since newer web-vaults don't have the
access_allflag anymore, it will be removed if you update a user with that permission. Due to the new view admins/owners will also not see all items in the password manager anymore, but only to items in collections they have explicit view access to (either directly or via a group).This is purely a fix to make it compatible with newer versions of the web-vault (
web-v2024.6.3and later). Bitwarden stated that they will deprecate "the Access all existing and future collections permission" and change "all users that had this permission the Can manage permission for all existing collections" when migrating existing users to the new collection management system. This does not (currently) apply to Vaultwarden as we have not implemented this yet. They also removed the Manager role, so I'm not sure if that's the appropriate course of action, giving all users with access_all the ability to manage who has access to collections... 😬🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.