Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: cancel pending assignment functionality #317

Merged
merged 1 commit into from
Nov 13, 2023
Merged

Conversation

katrinan029
Copy link
Contributor

@katrinan029 katrinan029 commented Nov 3, 2023

Description

Create a cancel functionality for pending assignments that the admin of an enterprise learner credit no longer wants the learner to enroll in. The learner will receive a cancellation email notification.

Solution

Add a celery task to the send out a braze email campaign to the learner when the cancellation is successful.

JIRA Ticket

Copy link
Contributor

@kiram15 kiram15 left a comment

Choose a reason for hiding this comment

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

Looks good so far! Let me know if you need any help with testing but no other notes

enterprise_access/apps/content_assignments/constants.py Outdated Show resolved Hide resolved
enterprise_access/apps/content_assignments/api.py Outdated Show resolved Hide resolved
enterprise_access/apps/content_assignments/constants.py Outdated Show resolved Hide resolved
enterprise_access/apps/content_assignments/models.py Outdated Show resolved Hide resolved
enterprise_access/apps/api/tasks.py Outdated Show resolved Hide resolved
enterprise_access/apps/api/tasks.py Outdated Show resolved Hide resolved
enterprise_access/apps/api/tasks.py Outdated Show resolved Hide resolved
enterprise_access/apps/api/tasks.py Outdated Show resolved Hide resolved
enterprise_access/apps/api/tasks.py Outdated Show resolved Hide resolved
enterprise_access/apps/api/tasks.py Outdated Show resolved Hide resolved
enterprise_access/apps/content_assignments/models.py Outdated Show resolved Hide resolved
@katrinan029 katrinan029 marked this pull request as ready for review November 8, 2023 21:40
Copy link
Contributor

@iloveagent57 iloveagent57 left a comment

Choose a reason for hiding this comment

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

Great job on this!

@katrinan029 katrinan029 force-pushed the knguyen2/ent-7882 branch 2 times, most recently from bcc0a2c to 97ab272 Compare November 13, 2023 20:17
@iloveagent57 iloveagent57 merged commit c0227be into main Nov 13, 2023
3 checks passed
@iloveagent57 iloveagent57 deleted the knguyen2/ent-7882 branch November 13, 2023 20:41
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.

4 participants