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

Cohort enrolment - allow multiple cohort selection

    XMLWordPrintable

Details

    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_34_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • Hide

      Setup

      1. Create some site level cohorts.
      2. Enable the cohort-sync enrolment type
      3. Grant the capability "moodle/cohort:view" to the teacher role at the site level.

      Testing

      1. Login as a teacher
      2. Add a new "cohort-sync" enrolment method to a course.
      3. test adding a single cohort to the enrolment method and save.
      4. test again by adding multiple cohorts at the same time.
      Show
      Setup Create some site level cohorts. Enable the cohort-sync enrolment type Grant the capability "moodle/cohort:view" to the teacher role at the site level. Testing Login as a teacher Add a new "cohort-sync" enrolment method to a course. test adding a single cohort to the enrolment method and save. test again by adding multiple cohorts at the same time.

    Description

      This has been mentioned previously in MDL-49417

      Adding multiple cohort enrolments to a single course is time consuming. I think it would be better if the drop-list allowed multiple cohorts to be selected at a time, then create an enrolment instance for each cohort selected. (deleting/updating would still need to happen one at a time.) I think this makes more sense than adding support for a single enrolment instance to support multiple cohorts.

      To achieve this I think we need to:

      1. Remove the ability to set a custom name in the cohort enrolment method
      2. make the name show as something like "Cohort enrolment: XXX" on the listing page.
      3. modify the cohort selector to allow multiple cohorts to be selected - which would then create an enrolment instance for each cohort.

      I think 1/2 will also improve overall UI - at the moment if a teacher sets some basic text in the custom name there is no way on the main list to see what cohort is set in a particular enrolment instance.

      Attachments

        Issue Links

          Activity

            People

              danmarsden Dan Marsden
              danmarsden Dan Marsden
              Ilya Tregubov Ilya Tregubov
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Angelia Dela Cruz Angelia Dela Cruz
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              5 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                19/Apr/22

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 35 minutes
                  35m