Skip to content

feat: Add plugin hook for activation email context, and remove enterprise context - #425

Merged
pwnage101 merged 1 commit into
release-ulmofrom
mkeating/ENT-11816
Sep 17, 2026
Merged

pwnage101 merged 1 commit into
release-ulmofrom
mkeating/ENT-11816

Conversation

@marlonkeating

@marlonkeating marlonkeating commented Aug 12, 2026

Copy link
Copy Markdown

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


These should be merged together:

Related:

@pwnage101
pwnage101 force-pushed the mkeating/ENT-11816 branch 2 times, most recently from 78a41f0 to f8f401a Compare September 3, 2026 19:10
@pwnage101 pwnage101 changed the title feat: use AccountActivationEmailComposed and AccountActivationCompleted filters feat: Add plugin hook for activation email context, and remove enterprise context Sep 16, 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.

ENT-11816
@pwnage101
pwnage101 marked this pull request as ready for review September 17, 2026 21:01
@pwnage101
pwnage101 enabled auto-merge September 17, 2026 21:18
@pwnage101
pwnage101 merged commit 8e8b0f4 into release-ulmo Sep 17, 2026
64 checks passed
@pwnage101
pwnage101 deleted the mkeating/ENT-11816 branch September 17, 2026 21:36
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
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.

2 participants