mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-01-21 01:12:28 -05:00
Merge branch 'Misterbabou-issue-3249'
This commit is contained in:
commit
e7d36de784
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue