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

Metacourses won't allow guest access with an enrolment key

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.5.3, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4
    • Fix Version/s: 1.9.14
    • Component/s: Enrolments
    • Labels:
      None
    • Environment:
      Linux
    • Database:
      MySQL
    • Testing Instructions:
      Hide

      make sure your site allows guests to login
      create a course and set as a meta course
      set a key and allow guests with the key
      Logout.
      Login as guest.
      attempt to enter the course.

      Show
      make sure your site allows guests to login create a course and set as a meta course set a key and allow guests with the key Logout. Login as guest. attempt to enter the course.
    • Affected Branches:
      MOODLE_15_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      Since the metacourses allow normal users to manually enrol bug was fixed in Moodle 1.5.3, any guest user trying to access a metacourse which has been set to allow guest access with an enrolment key now get the error message This course does not allow public access, i.e. the same message a logged in user trying to manually enrol on the course would get.

      As a bit of an aside I think this error message is slightly confusing for the user anyway, and would be much friendlier if it could read something along the lines of This course only allows access to students already enrolled on: (list of this metacourse's child courses).

        Attachments

          Activity

            People

            • Votes:
              19 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Oct/11