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

Loginas cleanup

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.8
    • 1.8
    • Roles / Access
    • None
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE

    Description

      Current loginas can non IMHO work as expected now, because you can not always override your own capabilitites in subcontext - this makes it not usable for users with some administration capability assigned at the system level

      This feature should IMO work for admins and should emulate REAL user login but without the need for password, it should not be used by ordinary teachers. Teachers should use switch role only.

      Solution:
      1/ define loginas capability in system context only
      2/ fix the code to fully switch the $USER and load all capabilities

      time needed: cca 4 hours for coding and testing

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              skodak Petr Skoda
              Nobody Nobody
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                31/Mar/07