feat(admin): impersonation banner, picker, and audit tab #50
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_collab!50
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "development_admin_impersonate"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Phase I — wires the impersonation UI now that hero_proxy ships
auth.impersonate/auth.stop_impersonating(PR45) +audit.list. The picker and "Stop" button hit the proxy directly at/hero_proxy/rpc/rpc(cookie session), sinceauth.impersonaterejects collab's UDS operator caller. The audit tab passes through collab →audit.listfiltered toauth.impersonate*actions.Related Issue
Refs #43.
Changes
impersonate.audit.listto the proxyaudit.list(mergesauth.impersonate+auth.stop_impersonatingentries, sorted desc).impersonate.start/impersonate.stophandlers + spec entries — UI hits proxy directly.ImpersonateBanner,ImpersonatePicker,ImpersonationAuditTabcomponents.AdminPage::ImpersonationAuditvariant + sidebar entry +#/admin/impersonation-auditroute.proxy_rpchelper in the WASM client for cookie-session calls.[[web.proxy]]mapping for/hero_proxy/rpc/rpcso dx serve forwards cookie calls to hero_router.Test Results
3/3 new Playwright specs pass (audit tab, picker modal, banner gating). 28/28 standalone specs pass overall.
cargo check --workspaceclean.