feat: remove enterprise enrollment imports and adds CourseEnrollmentViewStarted filter#38106
Merged
Conversation
kiram15
marked this pull request as ready for review
July 10, 2026 04:49
kiram15
force-pushed
the
pwnage101/ENT-11570
branch
4 times, most recently
from
July 14, 2026 22:28
5bca6f2 to
95bb64c
Compare
kiram15
force-pushed
the
pwnage101/ENT-11570
branch
from
July 17, 2026 19:22
95bb64c to
0071595
Compare
kiram15
requested review from
a team,
farhan,
feanil,
irtazaakram,
kdmccormick and
salman2013
as code owners
July 17, 2026 19:22
kiram15
marked this pull request as draft
July 17, 2026 20:18
kiram15
force-pushed
the
pwnage101/ENT-11570
branch
3 times, most recently
from
July 21, 2026 22:32
9fadbc6 to
8530586
Compare
…iewStarted filter
kiram15
force-pushed
the
pwnage101/ENT-11570
branch
from
July 21, 2026 22:49
8530586 to
85f323f
Compare
kiram15
marked this pull request as ready for review
July 22, 2026 16:06
kiram15
approved these changes
Jul 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR removes those enterprise imports and the conditional block from the enrollment view, then runs the CourseModeCheckoutStarted filter to handle the enterprise-specific enrollment logic separately and outside of edx-platform. This is part of an ongoing initiative to leverage openedx-filters to allow enterprise to customize logic and remove it from edx-platform code.
ENT-11570
Supporting information
This is the openedx/openedx-filters#363
This is openedx/edx-enterprise#2553
And this is the corresponding https://github.com/openedx/openedx-platform/pull/38106
Testing instructions
Testing instructions in the openedx/edx-enterprise#2553.