feature/allow-users #1

Merged
Ghasemi merged 2 commits from feature/allow-users into master 2026-08-03 09:24:15 -04:00

2 commits

Author SHA1 Message Date
0e95fab85f DOCS: add service brief for promotions
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-03 16:18:32 +03:30
c4ff4cf4cb FEATURE(promotions): restrict recipients to allowed users
Add Recipient.access_type (restricted/public) and an AllowedUser
table linking users to the recipients they may be paid through.
Restricted recipients are now checked against AllowedUser both when
computing a promotion payout and in the event-status endpoints that
report eligibility before submission.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-03 16:11:33 +03:30