Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-18443 Moodle 4.4 QA
  3. MDLQA-18766

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


      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. error.png
          33 kB
        2. MDLQA-18766-0a.png
          34 kB
        3. MDLQA-18766-0b.png
          71 kB
        4. MDLQA-18766-1.png
          73 kB
        5. MDLQA-18766-2.png
          68 kB
        6. MDLQA-18766-3.png
          47 kB
        7. MDLQA-18766-4.png
          46 kB
        8. MDLQA-18766-5.png
          18 kB
        9. MDLQA-18766-6.png
          67 kB
        10. MDLQA-18766-azurewarning.png
          71 kB

            sarjona Sara Arjona (@sarjona)
            0 Vote for this issue
            2 Start watching this issue


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