Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-22 05:10:29 +01:00
Merge pull request #18 from mprasil/share_ownership
Remove user_uuid when sharing to organization
Dieser Commit ist enthalten in:
Commit
1e812c0a23
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
|
@ -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"),
|
None => err!("You don't have permission to add item to organization"),
|
||||||
Some(org_user) => if org_user.has_full_access() {
|
Some(org_user) => if org_user.has_full_access() {
|
||||||
cipher.organization_uuid = Some(org_id);
|
cipher.organization_uuid = Some(org_id);
|
||||||
|
cipher.user_uuid = None;
|
||||||
} else {
|
} else {
|
||||||
err!("You don't have permission to add cipher directly to organization")
|
err!("You don't have permission to add cipher directly to organization")
|
||||||
}
|
}
|
||||||
|
|
Laden …
In neuem Issue referenzieren