← All stories

BRANCH · ef-077-efx-access-control

EFx Access Control

EF-077Roots in: efx-station-shellMatrix: Partial — native NFC needs hardware proof

Door checkpoints scan NFC or QR for event areas and sessions. The native scan endpoint and config exist; this branch demands hardware proof, capacity enforcement, late-arrival policy, and audit rows per scan.

Happy path

  1. Organizer configures access areas.

    Each area maps to sessions, capacity, allowed access types, and late-arrival policy.

  2. Door staff scans QR or NFC.

    Native runner resolves the attendee, enforces the session rule, and shows allow or deny.

  3. Scan result broadcasts to station state.

    Audit and capacity counters update without leaking across stations.

Failure modes

Access-control live rubric

All EFx WebSocket probes apply, plus physical NFC/QR scan proof, per-session capacity, late-arrival policy, and audit rows per scan.

Stable test attributes

Visibility teeth. Door result states must be visible and unambiguous; scan controls must be interactive on supported devices.

data-testWherePurpose
efx-access-admin-panelOrganizer EFx controlsAccess setup
efx-access-area-formOrganizer EFx controlsArea rules
efx-access-capacity-inputArea rulesCapacity
efx-access-late-policyArea rulesLate-arrival policy
efx-access-scan-shellDoor stationScan surface
efx-access-nfc-scan-ctaDoor stationNFC scan
efx-access-qr-scan-ctaDoor stationQR scan
efx-access-allow-stateDoor stationAllowed result
efx-access-deny-stateDoor stationDenied result
efx-access-audit-rowAudit tableScan evidence
efx-station-socket-statusStation runtimeSocket status
efx-station-active-stateStation runtimeModule state

Agent test plan

- access-admin-visible
- nfc-scan-success
- qr-scan-success
- capacity-deny
- late-policy-allow-or-deny
- audit-row-per-scan
- all WebSocket rubric probes in failureModes