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

A (teacher) user should not be able to unenrol themself via bulk unenrolment

    XMLWordPrintable

Details

    • Improvement
    • Status: Waiting for peer review
    • Minor
    • Resolution: Unresolved
    • 3.9.17, 3.11.10, 4.0.4
    • None
    • Enrolments
    • MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • MDL-75802-master
    • Hide

      In a course:

      • create some users enrolled with the manual enrolment (or with self enrolment)
      • visit the page with the list of participants user/index.php?id=69
      • Select all participants
      • Choose from the dropdown the option to delete all manual enrolments (or self enrolments)
      • Confirm that after the redirect, the current user does not appear in the summary of users that are going to be unenrolled, a notification warns that the user was removed from the selection and continuing with the deletion process will not unenrol the current user.
      Show
      In a course: create some users enrolled with the manual enrolment (or with self enrolment) visit the page with the list of participants user/index.php?id=69 Select all participants Choose from the dropdown the option to delete all manual enrolments (or self enrolments) Confirm that after the redirect, the current user does not appear in the summary of users that are going to be unenrolled, a notification warns that the user was removed from the selection and continuing with the deletion process will not unenrol the current user.

    Description

      The school year or uni semester starts again and teachers cleanup their courses. It happens again and again that selecting all participants and unenrolling them per bulk operation, they end up unintentionally loosing access to their own course. I suggest that the current user should not be in the list of users that get unenrolled with the bulk operation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ManeggiaP Paola Maneggia
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 minutes
                5m