vaultwarden/src/api
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
..
core Replace organization_uuid unwrap with proper error handling (#6936) 2026-04-29 22:58:39 +02:00
admin.rs Apply ref_option lint findings (#7143) 2026-04-28 18:34:40 +02:00
icons.rs Fix favicon fetching to check all icon links instead of just the first one (#6880) 2026-04-29 22:32:48 +02:00
identity.rs Several SSO Fixes (#7163) 2026-04-29 22:25:36 +02:00
mod.rs allow MasterPasswordHash for Android (#6673) 2026-01-06 14:24:05 +00:00
notifications.rs Apply ref_option lint findings (#7143) 2026-04-28 18:34:40 +02:00
push.rs Apply ref_option lint findings (#7143) 2026-04-28 18:34:40 +02:00
web.rs hide remember 2fa token (#6852) 2026-02-23 20:27:40 +01:00