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

Cohort enrolment - allow multiple cohort selection

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Waiting for peer review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.4
    • Fix Version/s: None
    • Component/s: Cohorts, Enrolments
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_34_STABLE
    • Pull Master Branch:

      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

              Assignee:
              danmarsden Dan Marsden
              Reporter:
              danmarsden Dan Marsden
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated: