Skip to content

feat: add DiscountEligibilityCheckRequested filter#335

Draft
pwnage101 wants to merge 1 commit intoopenedx:mainfrom
pwnage101:pwnage101/ENT-11564
Draft

feat: add DiscountEligibilityCheckRequested filter#335
pwnage101 wants to merge 1 commit intoopenedx:mainfrom
pwnage101:pwnage101/ENT-11564

Conversation

@pwnage101
Copy link

@pwnage101 pwnage101 commented Mar 4, 2026

Adds a new DiscountEligibilityCheckRequested filter to the learning subdomain, enabling plugins to mark users as ineligible for LMS-controlled course discounts without coupling the core platform to enterprise-specific logic.

ENT-11564

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com


Blocks:

Adds a new DiscountEligibilityCheckRequested filter to the learning
subdomain, enabling plugins to mark users as ineligible for LMS-
controlled course discounts without coupling the core platform to
enterprise-specific logic.

ENT-11564

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
user: Any,
course_key: Any,
is_eligible: bool,
) -> tuple:
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make type more explicit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant