Save enrollment action #113
Closed
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.
Note for reviewers: I took the original PR #111 from @ramadanomar and copied it here to be able to review and fix the remaining QA issues for merging
Description
Added the ability to save the preffered configuration values for 'openedx-enrollment-force' and 'openedx-enrollment-allowed'. This is needed to be able to enroll users that have no openedx account yet and/or enroll users to courses that have already started without manual intervation from an admin.
Without this, an admin will have to check failed enrollment requests and retry them from "openedx sync" tab in wordpress.
This would result in a really bad end user experience (purchase was made but access isn't given)
Useful information to include:
Screenshots
Checklist for Merge