mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-23 02:38:11 +03:00
Fix v2025.6.x clients and newer to delete items (#6004)
This commit is contained in:
1 parent
6b9333b33e
commit
3b48e6e903
3 files changed
+12
-7
No files matched your search
@@ -382,6 +382,11 @@ impl Cipher {
|
||||
// the "Read Only" or "Hide Passwords" restrictions for the user.
|
||||
json_object["edit"] = json!(!read_only);
|
||||
json_object["viewPassword"] = json!(!hide_passwords);
|
||||
// The new key used by clients since v2025.6.0
|
||||
json_object["permissions"] = json!({
|
||||
"delete": !read_only,
|
||||
"restore": !read_only,
|
||||
});
|
||||
}
|
||||
|
||||
let key = match self.atype {
|
||||
|
||||
Reference in new issue
Block a user