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

Add LTI admin role capability for role assigned to the Manager archetype

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      • Go to Site administration > Users > Permissions > Define roles
      • Edit or Create a new role
      • Select option to allow mod/lti:admin "Be an Admininstrator when the tool is launched" capability
      • Give a user that role in a course
      • Create an instance of external tool in that course. It should be http://lti.tools/test/tp.php or https://online.dr-chuck.com/sakai-api-test/tp.php as they display the role in the launch data parameters
      • Login as your user and go to the external tool
      • Look at the launch data, there should be an admin role like: urn:lti:sysrole:ims/lis/Administrator or urn:lti:instrole:ims/lis/Administrator or Administrator
      • As admin, go to Site administration > Users > Permissions > Define roles
      • Set up a role with with "Be an Instructor when the tool is launched" (the manage capability) and without the admin capability.
      • Give that role to your test user
      • With your test user, go to the external tool instance again. It should say your role is "Instructor" in the launch data
      • As admin, go to Site administration > Users > Permissions > Define roles
      • Set up another role neither admin or instructor allowed.
      • With your test user, go to the external tool instance again The second should be a Learner
      Show
      Go to Site administration > Users > Permissions > Define roles Edit or Create a new role Select option to allow mod/lti:admin "Be an Admininstrator when the tool is launched" capability Give a user that role in a course Create an instance of external tool in that course. It should be http://lti.tools/test/tp.php or https://online.dr-chuck.com/sakai-api-test/tp.php as they display the role in the launch data parameters Login as your user and go to the external tool Look at the launch data, there should be an admin role like: urn:lti:sysrole:ims/lis/Administrator or urn:lti:instrole:ims/lis/Administrator or Administrator As admin, go to Site administration > Users > Permissions > Define roles Set up a role with with "Be an Instructor when the tool is launched" (the manage capability) and without the admin capability. Give that role to your test user With your test user, go to the external tool instance again. It should say your role is "Instructor" in the launch data As admin, go to Site administration > Users > Permissions > Define roles Set up another role neither admin or instructor allowed. With your test user, go to the external tool instance again The second should be a Learner
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull Master Branch:
      lti_admin

      Description

      Some institutions who have a hosted instance of Moodle are not allowed to have admin access. This also means they can not be an admin in their LTI tools. By adding this optional capability, an institution can create a custom role (or customize an existing role) to also allow it to be an LTI admin on launch.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/Nov/17