MICROBA-1038 | Don't check enrollment status when removing allowlist entries
[MICROBA-1038] - Today, we check if a learner is actively enrolled in a course-run before we add or remove them from the Instructor Dashboard allow list. We ran into an issue where we couldn't remove an entry from the list because the learner is no longer actively enrolled in the course-run. Update instructor dashboard logic to only check enrollment status when _adding_ a learner to the allow list.
Showing
- common/djangoapps/student/api.py 8 additions, 0 deletionscommon/djangoapps/student/api.py
- common/djangoapps/student/tests/test_api.py 57 additions, 0 deletionscommon/djangoapps/student/tests/test_api.py
- lms/djangoapps/instructor/tests/test_api.py 3 additions, 17 deletionslms/djangoapps/instructor/tests/test_api.py
- lms/djangoapps/instructor/tests/test_certificates.py 3 additions, 22 deletionslms/djangoapps/instructor/tests/test_certificates.py
- lms/djangoapps/instructor/views/api.py 19 additions, 14 deletionslms/djangoapps/instructor/views/api.py
common/djangoapps/student/tests/test_api.py
0 → 100644
Please register or sign in to comment