geforkt von mirrored/vaultwarden
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
Dieser Commit ist enthalten in:
Ursprung
59ef82b740
Commit
20d8886bfa
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
|
@ -64,6 +64,8 @@ impl Collection {
|
||||||
Some(_) => {
|
Some(_) => {
|
||||||
if let Some(uc) = cipher_sync_data.user_collections.get(&self.uuid) {
|
if let Some(uc) = cipher_sync_data.user_collections.get(&self.uuid) {
|
||||||
(uc.read_only, uc.hide_passwords)
|
(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 {
|
} else {
|
||||||
(false, false)
|
(false, false)
|
||||||
}
|
}
|
||||||
|
|
Laden …
In neuem Issue referenzieren