mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-12-02 21:16:51 +01:00
Fix Collection Read Only access for groups
I messed up with identation sorry it's my first PR Fix Collection Read Only access for groups Fix Collection Read Only access for groups With indentation modification
This commit is contained in:
parent
2dcbb2be59
commit
8fcbc58ee2
1 changed files with 2 additions and 0 deletions
|
@ -64,6 +64,8 @@ impl Collection {
|
|||
Some(_) => {
|
||||
if let Some(uc) = cipher_sync_data.user_collections.get(&self.uuid) {
|
||||
(uc.read_only, uc.hide_passwords)
|
||||
} else if let Some(cg) = cipher_sync_data.user_collections_groups.get(&self.uuid) {
|
||||
(cg.read_only, cg.hide_passwords)
|
||||
} else {
|
||||
(false, false)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue