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

Meta and cohort enrolment methods should remove suspended users from groups

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.9, 3.0.4, 3.1, 3.2, 3.3, 3.5.8, 3.6.6, 3.7.2
    • Fix Version/s: None
    • Component/s: Enrolments, Groups
    • Testing Instructions:
    • Affected Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE

      Description

      We are using an external database enrollment for the students in the 2 child courses in the example below.

      Example:
      There are 2 courses for Math 101 (let's say an early morning class and an afternoon class taught by the same teacher). These courses are meta-linked to a single master course. These meta-links add their members into groups within that meta course.
      Student from the early class decides he wants to move to the later class. When he is removed from course 1, his enrollment in course 1 becomes suspended and his role is removed. Once he is added to course 2, we find that he is enrolled in the course correctly, but now he is part of both class groups in the master course. We attempt to manually remove him from the class 1 group, but upon enrollment sync, the student is added back into the class 1 group.

      I put a question on security issue because this allows students to be in a group that gives them access they shouldn't have. Probably incorrect, but that was my reasoning.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                22 Vote for this issue
                Watchers:
                18 Start watching this issue

                Dates

                • Created:
                  Updated: