Files
Gustavo Valverde 140e54d99c fix(admin): keep email/name authoritative and harden role allow-list
Spread data before the explicit email, name, and role so a caller cannot
override the validated and normalized values through data. Validate requested
roles with an own-property check so inherited keys like toString no longer pass
the configured-roles guard. Applies the own-property check to setRole and
adminUpdateUser as well.
2026-06-09 17:09:14 -07:00
..
2026-06-08 06:57:06 -07:00
2026-06-08 06:57:06 -07:00
2026-06-08 06:57:06 -07:00
2026-06-08 06:57:06 -07:00
2026-06-08 06:57:06 -07:00
2026-06-08 06:57:06 -07:00
2026-06-08 06:57:06 -07:00
2026-06-08 06:57:06 -07:00
2026-06-08 06:57:06 -07:00
2026-06-08 06:57:06 -07:00
2026-06-08 06:57:06 -07:00
2026-06-08 06:57:06 -07:00