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> |
||
|---|---|---|
| .. | ||
| gooyal_oauth2 | ||
| promotions | ||
| users | ||
| __init__.py | ||