Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-1 Moodle QA testing
  3. MDLQA-12857

A teacher can annotate a Nextcloud doc submitted as a controlled link

    XMLWordPrintable

    Details

      Description

      This test requires:

      • A Nextcloud test site, such as a Nextcloud instant demo site (valid for 60 minutes) from Try Nextcloud, and 3 Nextcloud accounts, one for the site admin, one for the teacher and one for the student
      • A Moodle test site with an OAuth 2 Nextcloud service and the Nextcloud repository enabled.

      The QA testing site may be used for running this test, though you'll need admin access (see the QA testing guide for details of how to request admin access) in order to set up the Nextcloud service and enable the Nextcloud repository. Begin just after the hourly reset to give yourself plenty of time to complete the test! Alternatively, you can use your own Moodle test site.

      Note: It is important to completely log out of all Nextcloud accounts between separate parts of the test.

      1. Log in as an admin and go to Site administration > Server > OAuth 2 services.
      2. Connect the account to a system account.
      3. Enable the Nextcloud repository, making sure it is connected to the Nextcloud service.
      4. Set the supported files to Internal and External.
      5. Edit the teacher role to allow editothersubmission (capability not enabled by default).
      6. Log in as a teacher and create an assignment requiring a file upload.
      7. Log in as a student, select a document from your Nextcloud account and select 'Create an access controlled link to the file'.
      8. Log out of all Nextcloud accounts.
      9. Log in as the teacher again and access the assignment. Click on the link. Verify that you are prompted to log in to your Nextcloud account.
      10. Log in with a Nextcloud account different from that of the student who submitted the assignment. Verify you can edit the student's document.
      11. Mount Nextcloud on your local machine, using the teacher Nextcloud account.
      12. On your machine, open the document that has been shared with you - you will find it in the "Moodlefiles" directory.
      13. Add a few comments to the student's document.
      14. Log out of all Nextcloud accounts.
      15. Log in as the student, access your assignment and verify you see the teacher's comments in the returned Nextcloud doc.
      16. As the student, go to your personal Nextcloud and verify the original document has not been altered.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: