mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[PR #20] [MERGED] Improve Folder::delete() to handle FolderCipher #2576
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#2576
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/20
Author: @mprasil
Created: 5/16/2018
Status: ✅ Merged
Merged: 5/16/2018
Merged by: @dani-garcia
Base:
master← Head:folder_delete📝 Commits (1)
e54b52fImprove Folder::delete() to handle FolderCipher📊 Changes
4 files changed (+30 additions, -15 deletions)
View changed files
📝
src/api/core/accounts.rs(+6 -1)📝
src/api/core/ciphers.rs(+6 -1)📝
src/api/core/folders.rs(+4 -6)📝
src/db/models/folder.rs(+14 -7)📄 Description
This moves the
FolderCipherdeletion intoFolder.delete()so we do also remove theFolderCiphermapping no matter where we call thedelete(). Also improvements were added to handle failures better as per #6.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.