Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-12282 Moodle 3.6 QA
  3. MDLQA-12817

CLONE - A teacher can annotate a OneDrive doc submitted as a controlled link

    XMLWordPrintable

    Details

      Description

      This test requires three OneDrive accounts, one for the site, one for the student and one for the teacher.

      Note: It is important to completely log out of all OneDrive accounts between separate parts of the test or Microsoft will pick a random account to display the file as.

      1. Log in as an admin and set up and configure the OAuth 2 Microsoft service with a client ID and secret, as described in the documentation OAuth2 Services and OAuth 2 Microsoft service.
      2. On the OAuth2 services page, connect the account to a system account.
      3. Enable the OAuth2 authentication plugin.
      4. Enable the OneDrive repository, making sure it is connected to the Microsoft service.
      5. Set the supported files to Internal and External.
      6. Edit the teacher role to allow editothersubmission (capability not enabled by default)
      7. Log in as a teacher and create an assignment requiring a file upload.
      8. Log in as a student, select a document from your OneDrive account and select 'Create an access controlled link to the file'.
      9. Log out of all OneDrive accounts.
      10. Log in as the teacher again and access the assignment. Click on the link. Verify that you are prompted to log in to your OneDrive account.
      11. Log in with a different account from that of the student who submitted the assignment. Verify you can edit the student's document.
      12. Add a few comments to the student's document.
      13. Log out of all OneDrive accounts.
      14. Log in as the student, access your assignment and verify you see the teacher's comments in the returned OneDrive doc.
      15. As the student, go to your personal OneDrive and verify the original document has not been altered.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: