vw_small

Hardened fork of Vaultwarden (https://github.com/dani-garcia/vaultwarden) with fewer features.
git clone https://git.philomathiclife.com/repos/vw_small
Log | Files | Refs | README

commit 1e812c0a234929b043534737ab9844a71c322345
parent ac4a40be04d696faf8b4d02ec3a8180a273f9623
Author: Daniel GarcĂ­a <dani-garcia@users.noreply.github.com>
Date:   Tue, 15 May 2018 17:53:03 +0200

Merge pull request #18 from mprasil/share_ownership

Remove user_uuid when sharing to organization
Diffstat:
Msrc/api/core/ciphers.rs | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/api/core/ciphers.rs b/src/api/core/ciphers.rs @@ -128,6 +128,7 @@ fn update_cipher_from_data(cipher: &mut Cipher, data: CipherData, headers: &Head None => err!("You don't have permission to add item to organization"), Some(org_user) => if org_user.has_full_access() { cipher.organization_uuid = Some(org_id); + cipher.user_uuid = None; } else { err!("You don't have permission to add cipher directly to organization") }