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

mod_lti_view_lti's service type is set to 'write'

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      PHPUnit
      1. Run PHPUnit tests for the mod_lti test suite.
        • Confirm that everything passes.
      Manual testing
      1. Login as an admin
      2. Navigate to "Site administration / Plugins / Activity modules / External tool / Manage tools"
      3. Copy and paste "https://www.eduappcenter.com/configurations/oc8j7hxnzsej9h62.xml" to the "Tool URL" field and click "Add".
      4. On the next configuration page, leave the consumer key and secret blank and click "Save changes"
      5. Create a course, enrol at least one student.
      6. Create an "External tool" activity.
      7. Set a value for the "Activity name" and choose "Wikipedia" under "Preconfigured tool"
      8. Save the changes.
      9. Navigate to "Site administration / Mobile app / Mobile settings"
      10. Tick "Enable web services for mobile devices" and save the changes.
      11. Download the latest Moodle Mobile app to your phone.
      12. Login to the site using the Moodle Mobile app as a student enrolled in to the course.
        Note: Your test server and mobile app should be on the same network, in order for them to see each other. Alternatively, you can use ngrok to expose your server over the internet so that the mobile app can reach it.
      13. Browse the course and navigate to the "Wikipedia" external tool activity.
        • Confirm that you can access the external activity.
      Show
      PHPUnit Run PHPUnit tests for the mod_lti test suite. Confirm that everything passes. Manual testing Login as an admin Navigate to " Site administration / Plugins / Activity modules / External tool / Manage tools " Copy and paste " https://www.eduappcenter.com/configurations/oc8j7hxnzsej9h62.xml " to the " Tool URL " field and click " Add ". On the next configuration page, leave the consumer key and secret blank and click " Save changes " Create a course, enrol at least one student. Create an " External tool " activity. Set a value for the " Activity name " and choose " Wikipedia " under " Preconfigured tool " Save the changes. Navigate to " Site administration / Mobile app / Mobile settings " Tick " Enable web services for mobile devices " and save the changes. Download the latest Moodle Mobile app to your phone. Login to the site using the Moodle Mobile app as a student enrolled in to the course. Note: Your test server and mobile app should be on the same network, in order for them to see each other. Alternatively, you can use ngrok to expose your server over the internet so that the mobile app can reach it. Browse the course and navigate to the "Wikipedia" external tool activity. Confirm that you can access the external activity.
    • Affected Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Pull Master Branch:
      MDL-59171-master

      Description

      I think this should be set to "read" only.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Jul/17