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

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




      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 the teacher Nextcloud account. 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.


        1. MDLQA-18306_Step_10.png
          20 kB
        2. MDLQA-18306_Step_11.png
          80 kB
        3. MDLQA-18306_Step_13.png
          50 kB
        4. MDLQA-18306_Step_15.png
          40 kB
        5. MDLQA-18306_Step_16.png
          16 kB
        6. MDLQA-18306_Step_7-0.png
          84 kB
        7. MDLQA-18306_step_7-1.png
          124 kB
        8. MDLQA-18306_Step_7-2..png
          56 kB
        9. MDLQA-18306_Step_7-3..png
          80 kB
        10. MDLQA-18306_Step_9.png
          70 kB
        11. MDLQA-18306_Step_9-1.png
          390 kB

        Issue Links



              raquel.ortega@moodle.com Raquel Ortega
              0 Vote for this issue
              1 Start watching this issue




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