In this case, * unenroll the currently linked learner from the courses associated with related ProgramCourseEnrollments * for each course the is enrolled in as part of a ProgramCourseEnrollment, if the coures has an audit track, then move the enrollment into the audit track. Otherwise, keep the learner's enrollment in the existing track. * link the new user to the ProgramEnrollment * enroll the new user in the Master's track in the courses associated with related ProgramCourseEnrollments
Program Enrollments
======================
This is the Program Enrollments plugin that allows university partners to
enroll their students in Master's courses on the edx platform.
.. image:: doc_images/pe_uml.png
Considerations:
- ProgramEnrollments
- Must have either user_id or external_user_key or both.
- Valid values for the `status` field:
- `enrolled`
- `pending`
- `suspended`
- `canceled`
- ProgramCourseEnrollments
- Valid values for the `status` field:
- `enrolled`
- `pending`
- `suspended`
- `canceled`