Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-17385 Moodle 4.2 QA
  3. MDLQA-17769

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

XMLWordPrintable

      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. While registering the application, select the option that includes both, Accounts in any organizational directory and personal Microsoft accounts.
      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.

        1. mdlqa17769_step2.png
          mdlqa17769_step2.png
          54 kB
        2. mdlqa17769_step6.png
          mdlqa17769_step6.png
          39 kB
        3. mdlqa17769_step8.png
          mdlqa17769_step8.png
          34 kB
        4. mdlqa17769_step11_12.png
          mdlqa17769_step11_12.png
          189 kB
        5. mdlqa17769_step14.png
          mdlqa17769_step14.png
          140 kB
        6. mdlqa17769_step15.png
          mdlqa17769_step15.png
          173 kB

            meirza.arson@moodle.com Meirza
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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