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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.4, 3.0.2
    • Fix Version/s: 3.1
    • Component/s: Groups
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-53072_master

      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

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  23/May/16