Moodle

Prevent automatic unenrol from courses when course is invisible

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 1.8.4, 1.9
  • Fix Version/s: 2.0
  • Component/s: Enrolments
  • Labels:
    None
  • Database:
    Any
  • Affected Branches:
    MOODLE_18_STABLE, MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

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.

Issue Links

Activity

Hide
Petr Škoda (skodak) added a comment -

The enrolments were completely rewritten in 2.0, each enrol plugin author decides what to do, thank you for the report.

Petr Skoda

Show
Petr Škoda (skodak) added a comment - The enrolments were completely rewritten in 2.0, each enrol plugin author decides what to do, thank you for the report. Petr Skoda

People

Vote (2)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: