Browse Source
Fix comment
Signed-off-by: BlackDex <black.dex@gmail.com>
pull/6004/head
BlackDex
3 weeks ago
No known key found for this signature in database
GPG Key ID: 58C80A2AA6C765E1
1 changed files with
1 additions and
1 deletions
-
src/db/models/cipher.rs
|
@ -382,7 +382,7 @@ impl Cipher { |
|
|
// the "Read Only" or "Hide Passwords" restrictions for the user.
|
|
|
// the "Read Only" or "Hide Passwords" restrictions for the user.
|
|
|
json_object["edit"] = json!(!read_only); |
|
|
json_object["edit"] = json!(!read_only); |
|
|
json_object["viewPassword"] = json!(!hide_passwords); |
|
|
json_object["viewPassword"] = json!(!hide_passwords); |
|
|
// The new key used by clients since v2025.6.1
|
|
|
// The new key used by clients since v2025.6.0
|
|
|
json_object["permissions"] = json!({ |
|
|
json_object["permissions"] = json!({ |
|
|
"delete": !read_only, |
|
|
"delete": !read_only, |
|
|
"restore": !read_only, |
|
|
"restore": !read_only, |
|
|