---
id: SCR-PFM-SEC-025
title: HQ customer detail
route: /hq/customers/{id}
surface: console
product_area: platform
module: security
revision: 1
status: draft
design_intent: proposed
implementation_evidence: observed
inference: []
source_sha:
  react-console: baf6dae382d6f41dce976c7f848667ccc37e076f
  services-platform: ad3f6a6582843008ed0f5a17b131878d15829af1
purpose: Inspect an HQ customer, edit permitted fields and navigate to its workspaces.
supports:
- JNY-PFM-SEC-001
- CAP-PFM-SEC-001
permission: hq.customers.read
entry_from:
- /hq/customers
exits_to:
- /hq/tenants/{id}
- /console/{tenantId}
displays:
- field: Customer profile, contact address, classification and commercial/accounting references.
  source: getHqCustomer
  provenance: observed
- field: Workspace summaries associated with the customer.
  source: getHqCustomer
  provenance: observed
actions:
- label: Edit
  operation_id: patchHqCustomer
  permission: hq.customers.update
  confirm: false
  provenance: observed
  source: react-console:components/console/hq/customer-detail.tsx
- label: Enter a workspace
  operation_id: recordMyHqTenantShortcutOpened
  permission: hq.tenants.read
  confirm: false
  provenance: observed
  source: react-console:components/console/hq/customer-detail.tsx
states:
- loading
- error
validation:
- BR-CAP-PFM-SEC-001-10
patterns:
- StaffOnly
- PageLayout
- PageHeader
- Customer dialog
component: components/console/hq/customer-detail.tsx (CustomerDetail)
evidence:
- 'react-console at baf6dae: components/console/hq/customer-detail.tsx; the page route file; lib/security/api.ts,
  lib/hq/platform-ops.ts, lib/hq/platform.ts, lib/auth/*'
examined_at: '2026-10-23'
examiner: codex
controls: [TC-AVL-005, TC-AZ-001, TC-AZ-002, TC-AZ-003, TC-AZ-004, TC-AZ-005, TC-AZ-006, TC-CRY-001, TC-CRY-002, TC-CRY-003, TC-CRY-004, TC-DAT-001, TC-DAT-003, TC-DAT-004, TC-IAM-001, TC-IAM-002, TC-IAM-003, TC-IAM-004, TC-IAM-005, TC-LOG-001, TC-LOG-002, TC-LOG-003, TC-LOG-004, TC-LOG-005, TC-MON-001, TC-MON-003, TC-PI-001, TC-PI-003, TC-PI-005, TC-PRV-001, TC-PRV-002, TC-TEN-001, TC-TEN-002, TC-TEN-003, TC-VEN-001, TC-VEN-002, TC-VEN-003]
---

# HQ customer detail

## What the Screen Is For

Inspect an HQ customer, edit permitted fields and navigate to its workspaces.

## What It Shows and Lets People Do

The detail page uses customer-reading authority and exposes editing under customer-update authority. Workspace entry has its own workspace permission and records the opened shortcut.

## States and Errors

The edit dialog preserves omitted fields through the HQ patch operation. Commercial-reference authority remains an open planning disagreement. This page offers no implemented customer-deletion action.

The state rows describe observed loading, empty, refusal or inactive handling where present. Linked validation rules belong to the planning layer; client feedback and authoritative service checks have distinct responsibilities.

## Patterns It Must Respect

The pattern list names the built shared components and interaction patterns checked for this screen. This contract describes the existing screen; it supplies no replacement visual design.
