mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-07-05 20:14:58 +00:00
Fix an issue with access_all
If owners or admins do not have the `access_all` flag set, in case they do not want to see all collection on the password manager view, they didn't see any collections at all anymore. This should fix that they are still able to view all the collections and have access to it. Signed-off-by: BlackDex <black.dex@gmail.com>
This commit is contained in:
parent
07e48132a2
commit
cc09bb72ca
1 changed files with 0 additions and 5 deletions
|
@ -364,11 +364,6 @@ async fn get_org_collections_details(
|
|||
|| (CONFIG.org_groups_enabled()
|
||||
&& GroupUser::has_access_to_collection_by_member(&col.uuid, &member.uuid, &mut conn).await);
|
||||
|
||||
// Not assigned collections should not be returned
|
||||
if !assigned {
|
||||
continue;
|
||||
}
|
||||
|
||||
// get the users assigned directly to the given collection
|
||||
let users: Vec<Value> = col_users
|
||||
.iter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue