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

wrong role in LTI launch when switching from site admin to student

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.1
    • Fix Version/s: None
    • Labels:
      None
    • Affected Branches:
      MOODLE_39_STABLE

      Description

      If you are a site admin, then when you switch role to student and launch an LTI tool, your LTI role still lists you as an administrator rather than a learner. The role sent is:

      urn:lti:sysrole:ims/lis/Administrator,urn:lti:instrole:ims/lis/Administrator

      If you are a manager or teacher on the course, but not a site administrator, the LTI role switches correctly.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            hmoffatt Hamish Moffatt
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: