vaultwarden/src
Johny Jiménez b89648a136
Replace organization_uuid unwrap with proper error handling (#6936)
The collection update endpoints (post_collections_update and
post_collections_admin) call .unwrap() on cipher.organization_uuid
in four places. If a user-owned cipher without an organization
somehow reaches these code paths, the server would panic.

Extract the organization UUID early with a descriptive error message
instead of relying on .unwrap(), preventing potential panics and
providing a clear API error response.

Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
2026-04-29 22:58:39 +02:00
..
api Replace organization_uuid unwrap with proper error handling (#6936) 2026-04-29 22:58:39 +02:00
db Add support for archiving items (#6916) 2026-04-29 22:29:42 +02:00
static Several SSO Fixes (#7163) 2026-04-29 22:25:36 +02:00
auth.rs Misc org fixes (#7032) 2026-03-29 23:15:48 +02:00
config.rs Apply ref_option lint findings (#7143) 2026-04-28 18:34:40 +02:00
crypto.rs Several SSO Fixes (#7163) 2026-04-29 22:25:36 +02:00
error.rs Optimizations and build speedup (#6339) 2025-11-01 22:21:04 +01:00
http_client.rs Fix Host/IP resolving (#7162) 2026-04-29 22:20:59 +02:00
mail.rs fix(send_invite): add orgSsoIdentifier if sso_only is enabled (#6824) 2026-02-23 20:28:12 +01:00
main.rs Fix windows build issues (#7065) 2026-04-08 15:35:18 +02:00
ratelimit.rs Optimizations and build speedup (#6339) 2025-11-01 22:21:04 +01:00
sso_client.rs Several SSO Fixes (#7163) 2026-04-29 22:25:36 +02:00
sso.rs Several SSO Fixes (#7163) 2026-04-29 22:25:36 +02:00
util.rs Fix Host/IP resolving (#7162) 2026-04-29 22:20:59 +02:00