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

Metacourses won't allow guest access with an enrolment key

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.9.14
    • 1.5.3, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4
    • Enrolments
    • None
    • Linux
    • MySQL
    • MOODLE_15_STABLE, MOODLE_19_STABLE
    • MOODLE_19_STABLE
    • 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.

      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).

            danmarsden Dan Marsden
            imported Imported (Inactive)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            19 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

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