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

Users with appropriate permissions can search the Server files

    XMLWordPrintable

    Details

    • Type: Functional Test
    • Status: Open
    • Priority: Blocker
    • Affects Version/s: Master copy - DO NOT REPORT TEST RESULTS HERE
    • Fix Version/s: None
    • Component/s: Filepicker, Repositories, User
    • Labels:
      None

      Description

      NOTE: This test requires a site with an admin account and site-wide manager account, and a user with editing teacher access to course A and Course B.

      1) Add at least one pdf and one image file to Courses A and B. All files must be different.
      2) Create a new course, Course C and add at least one pdf file and one image file. They must be different from the files in step 2. Do not give the teacher access to this course.
      3) As admin, go to Course A and with the editing turned, click 'Add an activity or resource>File.'
      4) In the Content section, click the Add button; go to Server files and verify you see the Search box.
      5) In the Search box, type pdf and verify you see all the pdf files in the site.
      6) In the Search box, type the name of the image file in Course C and verify it appears for you to select.
      7) Repeat steps 3- 6 with the site-wide manager role.
      8) Log in as the teacher and access Course A.
      9) With the editing turned on, click Add an activity or resource>File
      10) In the content section, click the Add button; go to Server files and verify you see the Search box.
      11) In the Search box type pdf and verify you see pdf files accessible to the teacher in Courses A and B but NOT Course C
      12) In the Search box, type the name of the image file in Course C and verify it does not appear for you.
      13) In the Search box, type the name of a file in Course B and verify it appears for you to select.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: