Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-34696 enrol improvements 2.4 META
  3. MDL-23875

Option to Limit Self-Enrolment to members of a Cohort

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.4
    • Component/s: Enrolments
    • Labels:
    • Testing Instructions:
      Hide

      This test requires a Moodle site in which no cohorts have been created.

      1. Create a course and add self enrolment as an enrolment method, selecting 'Yes' to 'Allow self enrolments' and leaving all other settings as default. Check that there is no 'Only cohort members' setting.
      2. Create a cohortA and manually add student1 to it.
      3. Edit the self-enrolment method and select cohortA for 'Only cohort members'.
      4. Log in as student1 and make sure you can enrol in the course.
      5. Log in as a different student and check that the message 'Only members of cohortA can self-enrol' is displayed when you attempt to enrol.
      Show
      This test requires a Moodle site in which no cohorts have been created. Create a course and add self enrolment as an enrolment method, selecting 'Yes' to 'Allow self enrolments' and leaving all other settings as default. Check that there is no 'Only cohort members' setting. Create a cohortA and manually add student1 to it. Edit the self-enrolment method and select cohortA for 'Only cohort members'. Log in as student1 and make sure you can enrol in the course. Log in as a different student and check that the message 'Only members of cohortA can self-enrol' is displayed when you attempt to enrol.
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w35_MDL-23875_m24_selfcohort

      Description

      We would like to have a course that has self-enrollment enabled, but only for students who are in a certain cohort. I imagine this being accomplished as an option in the current self-enrollment plugin.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Dec/12