Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-06-02 05:48:59 +02:00
fix: wrong organization group membership detection
Dieser Commit ist enthalten in:
Ursprung
704d9bde1e
Commit
7bc45a04f7
|
@ -364,8 +364,8 @@ async fn get_org_collections_details(org_id: &str, headers: ManagerHeadersLoose,
|
|||
|
||||
// if current user is in any collection-assigned group
|
||||
// or in a group having access to all collections
|
||||
// or itself has access to all collections
|
||||
assigned = !assigned && has_collection_access_via_group.contains(&user_org.uuid);
|
||||
// or itself has access to all collections
|
||||
assigned = assigned || has_collection_access_via_group.contains(&user_org.uuid);
|
||||
|
||||
let mut json_object = col.to_json();
|
||||
json_object["Assigned"] = json!(assigned);
|
||||
|
|
Laden …
In neuem Issue referenzieren