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

Extend the database enrolment plugin to create groups and add/remove members

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.3, 3.3.2
    • Fix Version/s: DEV backlog
    • Component/s: Enrolments
    • Labels:
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_33_STABLE

      Description

      Much like this http://tracker.moodle.org/browse/MDL-15663 but for Moodle 2+. There is also now an ID Number field for groups so this can be implemented more nicely than before (as mentioned in MDL-32005)

      Motivation:
      Many organisations already maintain a list of groups (e.g. class lists) in their external database. We should extend the database enrolment plugin to automatically create groups in courses and enrol/unenrol users in those groups when syncing with an external system.

      There are a couple of ways this could be done... Should there be a separate group table in the external database or should we just add two new columns to the enrolment table (a group name column for creating a group if one doesn't exist and a group ID column for matching up on the new group id number field)?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              nmares Nathan Mares
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              32 Vote for this issue
              Watchers:
              30 Start watching this issue

                Dates

                Created:
                Updated: