Details

    • Database:
      Any
    • Testing Instructions:
      Hide

      This patch affects following areas:

      • anything cohort sync enrolment plugin related
      • restore of group membership
      • restore of role assignments
      • restore of enrolments
      • group protection in enrolment UI (see MDL-31973)

      Test:

      • run phpunit tests in all supported databases
      • test all operation related to enrol_chort sync - add instances, change cohort memberships, delete cohorts, edit cohort sync insatcnes, delete use group, roles, etc.
      • test restore of course with cohort sync on the same site - exact restore expected
      • test restore on different site - restore as forced manual enrolments
      Show
      This patch affects following areas: anything cohort sync enrolment plugin related restore of group membership restore of role assignments restore of enrolments group protection in enrolment UI (see MDL-31973 ) Test: run phpunit tests in all supported databases test all operation related to enrol_chort sync - add instances, change cohort memberships, delete cohorts, edit cohort sync insatcnes, delete use group, roles, etc. test restore of course with cohort sync on the same site - exact restore expected test restore on different site - restore as forced manual enrolments
    • Workaround:
      Hide

      In MDL-22927 a solution statement was proposed, but i agree with Petr that this improvement would need a new column in the group table of the DB.

      Show
      In MDL-22927 a solution statement was proposed, but i agree with Petr that this improvement would need a new column in the group table of the DB.
    • Affected Branches:
      MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w40_MDL-31437_m24_cohortsync
    • Rank:
      37963

      Description

      The discussion started in MDL-22927, but there is a need to put this in an seperate issue.
      In our Moodle installation we've configured a large set of cohorts corresponding to age-group of students. These cohorts are associated with course-groups to control access within courses. I'd guess this scenario is quite common for other schools/universities.
      The groups can be created from cohorts with the "Auto-create groups" feature. But unfortunately the cohorts aren't synced to these auto-created groups and modifying a cohort doesn't change the corresponding group.
      Summing up we've got the following situation:

      cohort – synced --> enrolment – NOT synced --> group (auto-created)

      In my point of view there is a need for a consistent sync because it's a logical conclusion to the idea of cohorts.

      Thanks in advance!

        Issue Links

          Activity

            People

            • Votes:
              24 Vote for this issue
              Watchers:
              24 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: