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

Cannot prevent "guest access" enrolment method being added to new courses

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.3
    • Fix Version/s: 2.1.4, 2.2.1
    • Component/s: Enrolments
    • Labels:
    • Testing Instructions:
      Hide

      1. Login as Admin and go to Site Administration > Plugins > Enrolments
      2. Click Guest Access and untick the "Add instance to new courses" box
      3. Click Manual enrolments and untick the "Add instance to new courses" box
      4. Go to Site Administration > Courses > Add/edit courses
      5. Add a new course
      6. Enter the new course and click Course Administration > Users > Enrolment methods
      7. Verify that neither "Guest access" nor "Manual enrolments" methods are listed.

      Show
      1. Login as Admin and go to Site Administration > Plugins > Enrolments 2. Click Guest Access and untick the "Add instance to new courses" box 3. Click Manual enrolments and untick the "Add instance to new courses" box 4. Go to Site Administration > Courses > Add/edit courses 5. Add a new course 6. Enter the new course and click Course Administration > Users > Enrolment methods 7. Verify that neither "Guest access" nor "Manual enrolments" methods are listed.
    • Affected Branches:
      MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w52_MDL-30809_m23_guestinstance

      Description

      The site administration settings provide a setting for whether or not "Guest access" enrolment method is to be added to new courses by default. Unticking the box has no effect; the method is still added to new courses.

      The corresponding setting used for Manual enrolments works as expected.

      Steps to reproduce
      ==============
      1. Login as Admin and go to Site Administration > Plugins > Enrolments
      2. Click Guest Access and untick the "Add instance to new courses" box
      3. Click Manual enrolments and untick the "Add instance to new courses" box
      4. Go to Site Administration > Courses > Add/edit courses
      5. Add a new course
      6. Enter the new course and click Course Administration > Users > Enrolment methods

      Expected result
      ===========
      Neither "Guest access" nor "Manual enrolments" methods should be listed.

      Actual result
      =========
      "Guest access" method is listed, "Manual enrolments" method is not.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  9/Jan/12