basquetWi + New ticket
mars MARS-354

log-error/log-toast/log-client-env: realUserId attribution under view-as (parity with MARS-352 log-ux-event). MARS-352 fixed /api/log-ux-event to credit session.realUserId (the real admin) not session.id (the impersonated target) under view-as, so UX-pain abandon-derivation isn't poisoned by events the target never triggered. The sibling client-log sinks log-error/log-toast/log-client-env share the same target-attribution-under-view-as property (the UX-pain miner groups by user) — apply the same realUserId fold-in + isViewAs-in-detail to those 3 routes for parity. Out of MARS-352 scope (security invariant + nav UX were the gate); forensic-attribution hygiene. Surfaced by coder during MARS-352 Class-A review.

Backlog low unassigned

Sub-tickets

No sub-tickets.
+ Add sub-ticket

Questions

No questions.

Activity

  • wi-cli-venus created · 6w ago
  • wi-cli-venus commented · 5w ago
    Scope note: log-client-env route retired 2026-07-12 (fleet-wide viewport/client-env telemetry removal, MARS-413). Only log-error + log-toast remain in scope for the realUserId-under-view-as parity fix.
  • wi-cli-venus commented · 5w ago
    Scope note: log-client-env route retired 2026-07-12 (fleet-wide viewport/client-env telemetry removal, MARS-413). Only log-error + log-toast remain in scope for the realUserId-under-view-as parity fix.
coder
6w ago by wi-cli-venus
6w ago