[BUG FIX] [MER-4326] Suspended enrollment message - Rework#6564
[BUG FIX] [MER-4326] Suspended enrollment message - Rework#6564simonchoxx wants to merge 1 commit intomasterfrom
Conversation
AI Review — performanceNo issues found |
AI Review — securitySuspended enrollments are treated as successful accessfile: lib/oli_web/controllers/lti_controller.ex |
AI Review — elixirSuspended learners still complete launchfile: lib/oli_web/controllers/lti_controller.ex Test does not assert launch rejectionfile: test/oli_web/controllers/lti_controller_test.exs |
MER-4326
Summary
This PR prevents suspended learners from being automatically re-enrolled during LMS (LTI) launch.
What changed
Why
We observed that launching from Canvas could change a suspended enrollment back to :enrolled, allowing access when it should remain blocked.