Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-14105

Prevent automatic unenrol from courses when course is invisible

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • 2.0
    • 1.8.4, 1.9
    • Enrolments
    • None
    • Any
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_20_STABLE

      Is seems that some enrolment plugins cause users to be automatically unenroled from invisible courses when they login. And that seems to be far from correct.

      IMO visible/invisible status has NOTHING to do with enrolments (just the role/caps/perms system will grant users can/cannot access to the course).

      So it would be interesting to iterate over all enrolment plugins, checking that $course->visible doesn't cause the unenrolment any more.

      Just some hours ago, it was fixed in the LDAP enrol plugin from 18_STABLE to HEAD.

            skodak Petr Skoda
            stronk7 Eloy Lafuente (stronk7)
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.