mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-22 16:14:20 -05:00
[PR #20] [MERGED] Improve Folder::delete() to handle FolderCipher #6219
Reference in New Issue
Block a user
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.