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

Group enrolment key cannot be used to automatically add users to group

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0
    • 2.0
    • Groups
    • None
    • MAMP, Moodle 2RC2 build 20101124
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      This issue relates to MDLQA-144. A student cannot use a valid group enrolment key to enrol in a course or be sorted into a pre-configured group.

      Test

      This test requires a course in which self-enrolment is allowed and for which an enrolment key has been set.
      1. Login as a teacher, access a course and follow the groups link in the course administration settings.
      2. Create a group and set a group enrolment key.
      3. Login as user1 (not yet enrolled in the course) and enrol in the course by supplying the course enrolment key.
      4. Login as user2 (not yet enrolled in the course) and enrol in the course by supplying the group enrolment key.
      5. Login as the teacher again, access the participants page and check that user2 is a member of the group whereas user1 is not.

      Result

      Steps 1-3, 5a: pass
      Step 4: fail - cannot login with valid group enrolment key
      Step 5: user 1 enrols as an ungrouped student, user2 cannot enrol and is not grouped.

            skodak Petr Skoda
            chadsta Chad Outten
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.