E2-F8: Access Control Data Export¶
Epic: E2: Match & Stadium Management
Size: S (Small)
Problem / Outcome¶
Export valid ticket barcodes for offline validation at gates.
Scope¶
In-Scope:
- Export API generating Excel with barcodes only (no PII)
- Include extra codes for post-export changes
- Standardized file naming convention
Out-of-Scope:
- Real-time gate integration
Acceptance Criteria¶
- AC1: Given match, when admin exports, then Excel file generated with all valid barcodes
- AC2: Export includes 1000 extra codes for last-minute sales/changes
- AC3: File named:
MatchID_TicketExport_YYYYMMDD_HHMM.xlsx
Data Model Impact¶
No new tables required (read-only export from Ticket table)
Export includes:
- barcode (VARCHAR)
- ticket_status (ENUM)
- sector (VARCHAR)
- row (VARCHAR)
- seat (VARCHAR)
Permissions/Roles¶
- Admin (Match Manager)
How to Verify¶
npm test -- --grep "access control export"
Expected: Excel generated with correct format, extra codes included.
Dependencies¶
Implementation Tasks¶
See E2: Match ## Doc References Stadium Tasks
Doc References¶
Last Updated: January 2026