@startuml ux-user-flow-3-soporte-break-glass !include _style.iuml title 3. Flujo F3 — Soporte investiga incidente con break-glass PIN start partition "Admin Soporte (web)" { :Iniciar sesion; note right apps/web/src/app/(auth)/login/page.tsx end note :Abrir workspace soporte; note right apps/web/src/app/dashboard/soporte/page.tsx end note :Seleccionar ticket en cola; note right apps/web/src/app/dashboard/soporte/ticket/[id]/page.tsx end note :Pedir "Acceder a perfil del cliente"; } partition "Sistema (RBAC + auditoria)" { :Generar PIN de un solo uso; :Enviar PIN por canal seguro; :Registrar solicitud en logs_acceso_cliente; } partition "Admin Soporte (web)" { if (Valida PIN dentro de la ventana?) then (si) :Ingresar PIN; else (no) :Acceso denegado; stop endif :Ver datos PII por sesion 15 min; note right apps/web/src/app/dashboard/clientes/[id]/page.tsx Cabecera anuncia tiempo restante end note :Anotar hallazgo en ticket; :Cerrar sesion temporal o esperar expiracion; } partition "Sistema (RBAC + auditoria)" { :Cerrar sesion break-glass; :Persistir motivo y duracion en logs; } stop footer Fuente: migrations/003_pins_soporte_cliente.sql + apps/web/src/lib/dashboard/actions/soporte/** @enduml