feat: Add plugin hook for activation email context, and remove enterprise context - #425
Merged
Merged
Conversation
pwnage101
force-pushed
the
mkeating/ENT-11816
branch
2 times, most recently
from
September 3, 2026 19:10
78a41f0 to
f8f401a
Compare
pwnage101
force-pushed
the
mkeating/ENT-11816
branch
from
September 16, 2026 21:35
f8f401a to
37c0ada
Compare
pwnage101
force-pushed
the
mkeating/ENT-11816
branch
from
September 16, 2026 21:58
37c0ada to
b4c6c7f
Compare
pwnage101
force-pushed
the
mkeating/ENT-11816
branch
from
September 16, 2026 23:27
b4c6c7f to
a780f81
Compare
…rise context A new OpenEdX filter AccountActivationEmailContextGenerated is called (in place of custom enterprise logic) to allow plugins more flexibility in customizing the account activation email via theme-provided custom email templates. Relatedly, this removes in-platform injection of the `is_enterprise_learner` key into the activation email context. This can now be accomplished via plugins which implement a pipeline step for the newly added filter. ENT-11816
pwnage101
force-pushed
the
mkeating/ENT-11816
branch
from
September 17, 2026 20:59
a780f81 to
e581eeb
Compare
pwnage101
marked this pull request as ready for review
September 17, 2026 21:01
pwnage101
enabled auto-merge
September 17, 2026 21:18
pwnage101
approved these changes
Sep 17, 2026
pwnage101
pushed a commit
to openedx/openedx-platform
that referenced
this pull request
Sep 17, 2026
…rise context A new OpenEdX filter AccountActivationEmailContextGenerated is called (in place of custom enterprise logic) to allow plugins more flexibility in customizing the account activation email via theme-provided custom email templates. Relatedly, this removes in-platform injection of the `is_enterprise_learner` key into the activation email context. This can now be accomplished via plugins which implement a pipeline step for the newly added filter. Upstreamed from edx#425. ENT-11816
pwnage101
pushed a commit
to openedx/openedx-platform
that referenced
this pull request
Sep 17, 2026
…rise context A new OpenEdX filter AccountActivationEmailContextGenerated is called (in place of custom enterprise logic) to allow plugins more flexibility in customizing the account activation email via theme-provided custom email templates. Relatedly, this removes in-platform injection of the `is_enterprise_learner` key into the activation email context. This can now be accomplished via plugins which implement a pipeline step for the newly added filter. Upstreamed from edx#425. ENT-11816
pwnage101
pushed a commit
to openedx/openedx-platform
that referenced
this pull request
Sep 17, 2026
…rise context A new OpenEdX filter AccountActivationEmailContextGenerated is called (in place of custom enterprise logic) to allow plugins more flexibility in customizing the account activation email via theme-provided custom email templates. Relatedly, this removes in-platform injection of the `is_enterprise_learner` key into the activation email context. This can now be accomplished via plugins which implement a pipeline step for the newly added filter. Upstreamed from edx#425. ENT-11816
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.
A new OpenEdX filter AccountActivationEmailContextGenerated is called (in place of custom enterprise logic) to allow plugins more flexibility in customizing the account activation email via theme-provided custom email templates.
Relatedly, this removes in-platform injection of the
is_enterprise_learnerkey into the activation email context. This can now be accomplished via plugins which implement a pipeline step for the newly added filter.ENT-11816
These should be merged together:
is_enterprise_learnerhint openedx/edx-enterprise#2674Related: