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

Implement the IMS LTI contexts membership service

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      1. On a Moodle instance with a DNS name, as admin, configure a new LTI tool with these details:

      URL : https://sakai-staging.lancs.ac.uk/moodle-lti-test/tool.php
      Key: sakai-staging-lti-test-harness
      Secret: secret

      Make sure to enable the sharing of rosters with the launched tool, under the Privacy settings.

      2. Add the tool to a course. The course needs a few enrolments. You could also add some groups to the course as these should also come over in the XML.
      3. Login as a Teacher
      4. Click on the tool.
      5. Click 'Test Moodle Membership API'
      6. Click 'Read Memberhips'

      You should get a chunk of response XML at the bottom of the screen, representing the set of users for the course. In this case, all is well. If you get nothing at the bottom, or an error message, please post it here, and I'll revisit the code.

      Show
      1. On a Moodle instance with a DNS name, as admin, configure a new LTI tool with these details: URL : https://sakai-staging.lancs.ac.uk/moodle-lti-test/tool.php Key: sakai-staging-lti-test-harness Secret: secret Make sure to enable the sharing of rosters with the launched tool, under the Privacy settings. 2. Add the tool to a course. The course needs a few enrolments. You could also add some groups to the course as these should also come over in the XML. 3. Login as a Teacher 4. Click on the tool. 5. Click 'Test Moodle Membership API' 6. Click 'Read Memberhips' You should get a chunk of response XML at the bottom of the screen, representing the set of users for the course. In this case, all is well. If you get nothing at the bottom, or an error message, please post it here, and I'll revisit the code.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE
    • Pull Master Branch:
      MDL-41724-master

      Description

      The LTI contexts membership service (http://developers.imsglobal.org/ext_membership.html) allows a provider to pull the course roster from the consumer, Moodle in this case. Some LTI enabled tools on the market, WebPA being one, need to provision a roster in advance of users individually launching the tool. Currently, if you want to use such tools, basiclti4moodle is the only choice, the core lti module won't work.

      To reproduce:

      Add WebPA as an external tool.
      Add the tool to a course with some students.
      Launch the tool as an instructor.

      You won't be able to synchronise rosters.

      Install basiclti4m and repeat the above using basiclti4m. You will now be able to sync rosters.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  16/Nov/15