Skip to content

Story: Admin Create Quota

As a

HNS administrator

I want to

Create ticket quotas for sponsors, partners, and fan groups through the admin portal

So that

I can efficiently allocate tickets to stakeholders and reduce manual coordination work

Acceptance Criteria

  • AC1: I can access quota creation form in admin portal
  • AC2: I can specify which match the quota is for
  • AC3: I can assign a unique username for quota holder login
  • AC4: System generates a temporary password automatically
  • AC5: I can add internal notes visible only to admins
  • AC6: I can select one or more sectors for allocation (e.g., D1, C1, B2)
  • AC7: I can specify total quantity of tickets in the quota
  • AC8: I can set discount code (0 for full price, GR for free tickets)
  • AC9: I can choose allocation algorithm (NM for best seats, REDOM for sequential)
  • AC10: I can set expiration date (visual indicator)
  • AC11: I can enable/disable sub-quota creation permission
  • AC12: I can choose whether to auto-send email notification
  • AC13: System validates all inputs before saving
  • AC14: System prevents duplicate username creation
  • AC15: Quota creation succeeds within 3 seconds
  • AC16: Email automatically sent to quota holder with credentials and portal link
  • AC17: Allocated seats immediately deducted from public availability
  • AC18: I can view confirmation that quota was created successfully
  • AC19: Quota appears in admin dashboard with status "Active"
  • AC20: All quota creation details logged in audit trail

Technical Notes

Priority

HIGH - Critical for managing partner relationships and stadium allocation

Dependencies

  • Admin portal must be operational
  • Email service configured
  • Quota portal accessible
  • Match and sector data loaded
  • feature-quota-creation-assignment
  • feature-csv-import-quotas
  • feature-admin-portal-interface
  • epic-quota-management-system
  • epic-admin-reporting

Implementation Notes

  • Form validation must be comprehensive
  • Username uniqueness enforced at database level
  • Sector codes validated against match configuration
  • Email template must include all necessary information

Last Updated: November 2025