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

Option to choose whether we include suspended users when auto-creating groups

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.9.4, 3.0.2
    • 3.1
    • Groups
    • MOODLE_29_STABLE, MOODLE_30_STABLE
    • MOODLE_31_STABLE
    • MDL-53072_master
    • Hide
      Test 1
      1. Run the behat tests in group/tests/behat/auto_creation.feature
      Test 2
      1. Create a course.
      2. Enrol multiple students.
      3. Suspend a few of them.
      4. Log in as an admin and visit the auto-create groups functionality
      5. Test the new setting 'Include only active enrolments' and ensure it works as expected.
      Test 3
      1. Create a course.
      2. Enrol multiple students and a teacher.
      3. Suspend a few of the students.
      4. Log in as an admin.
      5. Change the capability 'moodle/course:viewsuspendedusers' to 'Prohibit' for teachers.
      6. Log in as the teacher.
      7. Check that you can not see the setting 'Include only active enrolments'.
      8. Check that when creating groups you never end up with a suspended user in one.
      Show
      Test 1 Run the behat tests in group/tests/behat/auto_creation.feature Test 2 Create a course. Enrol multiple students. Suspend a few of them. Log in as an admin and visit the auto-create groups functionality Test the new setting 'Include only active enrolments' and ensure it works as expected. Test 3 Create a course. Enrol multiple students and a teacher. Suspend a few of the students. Log in as an admin. Change the capability 'moodle/course:viewsuspendedusers' to 'Prohibit' for teachers. Log in as the teacher. Check that you can not see the setting 'Include only active enrolments'. Check that when creating groups you never end up with a suspended user in one.

    Description

      When auto-creating groups we should add an option that indicates whether or not to include suspended users in a group.

      Attachments

        Issue Links

          Activity

            People

              rex Rex Lorenzo
              markn Mark Nelson
              Mark Nelson Mark Nelson
              Dan Poltawski Dan Poltawski
              Damyon Wiese Damyon Wiese
              Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                23/May/16