Files
pruefwerk/compliance-dashboard/assets
Sharang ParnerkarandClaude Opus 5.5 4d3035a8c7
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 7m6s
feat(support): BreakPilot support can open any tenant, attributed and audited
Staff with the realm role BREAKPILOT_ADMIN or SUPPORT_ENGINEER (company
sign-in) can open any customer tenant in the dashboard without being
invited, as the AVV allows.

- Agent: a support token names the tenant in X-Pruefwerk-Tenant (UUID
  only; ignored for every other token, so customers cannot switch). The
  context stays read-only until the registry confirms the tenant, which
  also sets its slug and ladder status: archived and halted tenants stay
  closed. Without a registry there is no support access.
- Support without a chosen tenant gets 428 tenant_not_selected on
  tenant routes, not a 401, so the dashboard never loops to the login.
- Every support change, refused ones included, goes to the registry's
  audit log (method, path, status; never the body). Opening a tenant is
  logged through POST /api/v1/support/session.
- Status history records a display name and a support flag: the customer
  reads "BreakPilot-Support (name)"; everyone else's changes now show a
  name instead of a user id. Manual findings name their reporter.
- Scans support starts run as ScanTrigger::Support and are not counted
  as the customer's usage.
- Dashboard: support lands on a searchable tenant picker; a banner shows
  while a tenant is open, with "Mandant wechseln".

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
2026-09-29 09:29:20 +02:00
..
2026-03-06 21:54:15 +00:00