Paddy 1de0cc6940 Fix two security/data-integrity gaps found in code review
- Voucher generation (wildcard + personalized) now validates every
  eventId against the event_ticket_settings allow-list before minting
  codes. Previously a direct API call bypassing the admin picker could
  mint a fully-uncapped, no-deadline redeemable code for any Calendar
  event, including non-concert ones.
- Redemption now checks the Calendar event isn't DELETED (validateVoucher
  and redeemVoucher both). Previously a concert canceled/deleted after
  codes were issued stayed silently redeemable. DRAFT events remain
  eligible on purpose - vouchers are sometimes sent before a concert is
  publicly announced.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-23 22:42:24 +02:00
2022-12-24 14:32:13 +01:00
2022-12-24 14:32:13 +01:00
2022-12-24 14:32:13 +01:00
2022-12-24 14:32:13 +01:00
2022-12-24 14:32:13 +01:00
S
Description
No description provided
1.2 MiB
Languages
TypeScript 100%