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

Allow admin to remain logged in after login as procedure

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. With new setting $CFG->simplereturnloginas disabled (default):
        • log in as somebody else and make sure you can only logout and are not able to return to your user
      1. Enable $CFG->simplereturnloginas (in experimental settings)
      2. Log in as another user
      3. Make sure you can return to original session through three different links (as in attached screenshot)
      4. Log in as another user again
      5. Visit /my/ page
      6. Make sure you can not return to original session and can only log out
      Show
      With new setting $CFG->simplereturnloginas disabled (default): log in as somebody else and make sure you can only logout and are not able to return to your user Enable $CFG->simplereturnloginas (in experimental settings) Log in as another user Make sure you can return to original session through three different links (as in attached screenshot) Log in as another user again Visit /my/ page Make sure you can not return to original session and can only log out
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_28_STABLE
    • Pull Master Branch:
      wip-MDL-24120-master
    • Story Points:
      20

      Description

      log in as admin to moodle 2
      go to a course (home page is enough)
      from participants block, select a student and login as him/her
      do something (at least nothing) and return to your personal account
      at the end of this process, you are always logged out

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                142 Vote for this issue
                Watchers:
                76 Start watching this issue

                Dates

                • Created:
                  Updated: