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

Switch role to guest doesn't work correctly when guest not allowed in course

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7
    • Component/s: Roles / Access
    • Labels:
      None
    • Affected Branches:
      MOODLE_17_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE

      Description

      1) Set up a course where guest access is not allowed
      2) As an admin or teacher in this course, choose "Switch role to..." -> "Guest"
      3) You get a page with "Sorry, 'Name of course' does not allow guests to enter. and a "Continue button".
      4) Click on the continue button
      5) You're redirected to the login page.
      6) Switching again to the course brings you to the same page as described in step 4)
      7) Only way to get out this is clicking on "Return to my normal role" in the top right corner of the page

      Expected behaviour:
      After step 4), return to the course page with normal role.

        Attachments

          Activity

            People

            Assignee:
            dougiamas Martin Dougiamas
            Reporter:
            mina Nicolas Martignoni
            Tester:
            Nicolas Martignoni
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              7/Nov/06