I have self enrollment active on my courses.
Currently users who have not yet enrolled in a course can access the course activities, including a final quiz.
How can I restrict access to the course activities until the student enrolls in the course?
I am using Moodle 2.9.3