Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-17933 Moodle 4.3 QA
  3. MDLQA-18273

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. onedrive_unfreezeaccount.png
          onedrive_unfreezeaccount.png
          59 kB
        2. onedrive1_oauth.png
          onedrive1_oauth.png
          70 kB
        3. onedrive2_repository.png
          onedrive2_repository.png
          50 kB
        4. onedrive3_repository.png
          onedrive3_repository.png
          50 kB
        5. onedrive4_selectfile.png
          onedrive4_selectfile.png
          75 kB
        6. onedrive5_teacheredit.png
          onedrive5_teacheredit.png
          68 kB
        7. onedrive6_studentaccess.png
          onedrive6_studentaccess.png
          54 kB
        8. onedrive7_originaldoc.png
          onedrive7_originaldoc.png
          32 kB

        Issue Links

          Activity

            People

              sarjona Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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