mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-09 09:13:02 +03:00
[PR #460] [MERGED] Fixed purging organization vault #3711
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/460
Author: @janost
Created: 4/14/2019
Status: ✅ Merged
Merged: 4/14/2019
Merged by: @dani-garcia
Base:
master← Head:organization-vault-purge📝 Commits (1)
03fdf36Fixed purging organization vault📊 Changes
1 file changed (+40 additions, -13 deletions)
View changed files
📝
src/api/core/ciphers.rs(+40 -13)📄 Description
Fixes #458.
The new logic checks for the
organizationIdquery parameter.If there is none, it assumes the users wants to purge their own vault.
If there is, it only purges the vault of the organization if the user is an owner of the organization.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.