feat: add View as Customer impersonation button on Clients page #64

Merged
ghost merged 1 commits from feature/staff-impersonate-button into main 2026-03-19 12:47:26 +00:00

1 Commits

Author SHA1 Message Date
Groom Book CTO b97f52386e feat(web): add "View as Customer" impersonation button on staff Clients page
Staff can now click "View as Customer" on any client profile in the admin
panel. This navigates to the customer portal with impersonation auto-activated,
showing the portal exactly as that customer would see it (read-only, with
full audit trail).

The portal reads impersonate/clientName/reason/staffName from URL search
params on mount, auto-starts the impersonation session, then cleans up the
URL.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-19 12:11:55 +00:00