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

Improve support for user roles with LTI

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.9.15, 3.11.8, 4.0.2
    • LTI External tool
    • MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
    • Hide

      None

      Show
      None
    • Hide
      1. Create an LTI 1.1 external tool at the system admin level with the following values:
        • URL of https://saltire.lti.app/tool
        • consumer key of "moodle" (value does not actually matter)
        • shared secret of "secret"
        • set "Default launch container" to "New window" (optional)
      2. Add an instance of the new external tool to a course
      3. Click on the link to the external tool
      4. Expand the "Message Parameters" section and inspect the "roles" parameter for inclusion of the user's Moodle role
      5. Repeat steps 3 and 4 as a student user
      6. Repeat steps 1 to 5 with an LTI Advantage tool registered with the URL of https://saltire.lti.app/tool

       

      Show
      Create an LTI 1.1 external tool at the system admin level with the following values: URL of https://saltire.lti.app/tool consumer key of "moodle" (value does not actually matter) shared secret of "secret" set "Default launch container" to "New window" (optional) Add an instance of the new external tool to a course Click on the link to the external tool Expand the "Message Parameters" section and inspect the "roles" parameter for inclusion of the user's Moodle role Repeat steps 3 and 4 as a student user Repeat steps 1 to 5 with an LTI Advantage tool registered with the URL of https://saltire.lti.app/tool  

      At present Moodle only passes a course role of either Instructor or Learner to an LTI tool (plus the Administrator role(s) if they are also an administrator).  This does not give much opportunity for tools to tailor their interfaces for different levels of user responsibility.

      I have two (not mutually exclusive) recommendations:

      1. Include the user's Moodle role(s) in the LTI roles parameter/claim;
      2. Allow a tool configuration to map a Moodle role to an LTI role to override the default mapping currently implemented.

      The first of these is a simple change and is currently implemented here.  The second can be added if others agree it would be useful.

            svickers Stephen Vickers
            svickers Stephen Vickers
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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