Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-16759 Moodle 4.1 QA
  3. MDLQA-17181

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. 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.

      Attachments

        1. step_5.png
          step_5.png
          43 kB
        2. step_1-4.png
          step_1-4.png
          27 kB
        3. step_10.png
          step_10.png
          132 kB
        4. step_11-12.png
          step_11-12.png
          178 kB
        5. step_15.png
          step_15.png
          165 kB
        6. step_6.png
          step_6.png
          8 kB
        7. step_7.png
          step_7.png
          29 kB
        8. step_8.png
          step_8.png
          35 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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