promotions/apps/promotions
Ali Asadi 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
..
migrations FEATURE(promotions): restrict recipients to allowed users 2026-08-03 16:11:33 +03:30
__init__.py basic promotion handler 2025-08-03 13:28:40 +03:30
admin.py FEATURE(promotions): restrict recipients to allowed users 2026-08-03 16:11:33 +03:30
apps.py basic promotion handler 2025-08-03 13:28:40 +03:30
filters.py basic promotion handler 2025-08-03 13:28:40 +03:30
forms.py basic promotion handler 2025-08-03 13:28:40 +03:30
handlers.py delme 2025-11-02 18:08:47 +03:30
models.py FEATURE(promotions): restrict recipients to allowed users 2026-08-03 16:11:33 +03:30
serializers.py FEATURE(promotions): adding promotion is used status for user 2026-07-26 15:25:49 +03:30
tasks.py 3 type of promotion test pass 2025-11-08 13:49:56 +03:30
tests.py FEATURE(promotions): adding promotion is used status for user 2026-07-26 15:25:49 +03:30
urls_application.py get user from accounts 2026-07-07 16:42:34 +03:30
urls_user.py FEATURE(promotions): adding promotion is used status for user 2026-07-26 15:25:49 +03:30
views_application.py FEATURE(promotions): adding promotion is used status for user 2026-07-26 15:25:49 +03:30
views_user.py FEATURE(promotions): adding promotion is used status for user 2026-07-26 15:25:49 +03:30