Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-12911 Moodle 3.7 QA
  3. MDLQA-13494

CLONE - An admin can set whether users can view a list of courses they are not enrolled in

XMLWordPrintable

      This is an exploratory test of a new feature, so please feel free to try anything you like and not just the test steps!

      This test requires admin access. If you would like to use the QA testing site for running it, please see the QA testing guide for details of how to request admin access. Begin just after the hourly reset to give yourself plenty of time to complete the test!

      1. Log in as admin and go to Site administration / Users / Permissions / Define roles.
      2. Edit the Authenticated user role and search for the capability moodle/category:viewcourselist then remove it by unticking the Allow box, then save changes.
      3. Edit the Guest role and search for the capability moodle/category:viewcourselist and then remove it by unticking the Allow box, then save changes.
      4. Click the 'Add a new role', use no role as archetype, name the role 'Course list viewer', tick Category as context type where the role may be assigned, search for the capability moodle/category:viewcourselist and allow it, then save changes.
      5. Go to the site home page and add the Courses block.
      6. Go to Site administration / Front page settings / Edit settings and enable all kinds of course listings on the site home page.
      7. Go to Site administration / Courses / Manage courses and categories and create some course categories and some courses.
      8. For some of these courses enable self enrolment and for others, enable guest access.
      9. For some of the categories created, assign the 'Course list viewer' role to a user via the 'Assign roles' option in the category cog menu.
      10. Log in as a user and verify that you are not able to view the list of courses in the Courses block or on the site home page.
      11. Verify that you can view the courses you are enrolled in.
      12. Log in as a guest and verify that you are not able to view the list of courses in the Courses block or on the site home page.
      13. Log in as the user with the 'Course list viewer' role and check the Courses block and the site home page.
      14. Verify that you can browse only the categories for which you have the 'Course list viewer' role.
      15. Verify that you can self-enrol in any course in these categories which allows self enrolment.
      16. Switch to Classic theme and make sure that only available/enrolled courses appear in the navigation block and navigation items expand properly when you navigate inside the course, inside the section and inside the activity.

        1. image-2019-05-04-16-12-42-602.png
          image-2019-05-04-16-12-42-602.png
          50 kB
        2. image-2019-05-04-16-19-25-669.png
          image-2019-05-04-16-19-25-669.png
          50 kB
        3. image-2019-05-04-16-19-35-613.png
          image-2019-05-04-16-19-35-613.png
          59 kB
        4. image-2019-05-04-16-19-55-149.png
          image-2019-05-04-16-19-55-149.png
          47 kB
        5. image-2019-05-14-10-25-05-967.png
          image-2019-05-14-10-25-05-967.png
          78 kB
        6. image-2019-05-14-10-25-30-563.png
          image-2019-05-14-10-25-30-563.png
          50 kB
        7. image-2019-05-14-10-25-56-211.png
          image-2019-05-14-10-25-56-211.png
          53 kB
        8. image-2019-05-14-10-26-12-177.png
          image-2019-05-14-10-26-12-177.png
          9 kB
        9. image-2019-05-14-10-26-22-813.png
          image-2019-05-14-10-26-22-813.png
          45 kB
        10. image-2019-05-14-10-26-48-425.png
          image-2019-05-14-10-26-48-425.png
          13 kB
        11. image-2019-05-14-10-28-03-450.png
          image-2019-05-14-10-28-03-450.png
          9 kB
        12. image-2019-05-14-10-28-19-971.png
          image-2019-05-14-10-28-19-971.png
          53 kB
        13. image-2019-05-14-10-28-43-648.png
          image-2019-05-14-10-28-43-648.png
          35 kB
        14. image-2019-05-14-10-28-55-109.png
          image-2019-05-14-10-28-55-109.png
          40 kB
        15. image-2019-05-14-10-29-19-293.png
          image-2019-05-14-10-29-19-293.png
          29 kB
        16. image-2019-05-14-10-29-28-713.png
          image-2019-05-14-10-29-28-713.png
          39 kB
        17. image-2019-05-14-10-29-43-227.png
          image-2019-05-14-10-29-43-227.png
          74 kB
        18. image-2019-05-14-10-30-04-910.png
          image-2019-05-14-10-30-04-910.png
          61 kB
        19. image-2019-05-14-10-30-11-729.png
          image-2019-05-14-10-30-11-729.png
          38 kB
        20. image-2019-05-14-10-30-42-184.png
          image-2019-05-14-10-30-42-184.png
          63 kB
        21. image-2019-05-14-10-30-56-708.png
          image-2019-05-14-10-30-56-708.png
          57 kB
        22. image-2019-05-14-10-31-19-476.png
          image-2019-05-14-10-31-19-476.png
          80 kB
        23. image-2019-05-14-10-33-13-685.png
          image-2019-05-14-10-33-13-685.png
          126 kB
        24. image-2019-05-14-10-33-30-296.png
          image-2019-05-14-10-33-30-296.png
          126 kB
        25. image-2019-05-14-10-33-52-965.png
          image-2019-05-14-10-33-52-965.png
          63 kB
        26. image-2019-05-14-10-34-15-513.png
          image-2019-05-14-10-34-15-513.png
          63 kB
        27. image-2019-05-14-10-34-36-874.png
          image-2019-05-14-10-34-36-874.png
          57 kB
        28. image-2019-05-14-10-34-48-267.png
          image-2019-05-14-10-34-48-267.png
          35 kB
        29. image-2019-05-14-10-34-54-355.png
          image-2019-05-14-10-34-54-355.png
          57 kB
        30. image-2019-05-14-10-35-16-359.png
          image-2019-05-14-10-35-16-359.png
          47 kB
        31. image-2019-05-14-10-35-37-534.png
          image-2019-05-14-10-35-37-534.png
          46 kB
        32. image-2019-05-14-10-35-43-641.png
          image-2019-05-14-10-35-43-641.png
          31 kB
        33. image-2019-05-14-10-35-53-872.png
          image-2019-05-14-10-35-53-872.png
          46 kB
        34. image-2019-05-14-10-35-59-463.png
          image-2019-05-14-10-35-59-463.png
          9 kB
        35. image-2019-05-14-10-36-08-342.png
          image-2019-05-14-10-36-08-342.png
          83 kB
        36. image-2019-05-14-10-36-56-966.png
          image-2019-05-14-10-36-56-966.png
          34 kB
        37. image-2019-05-14-10-37-47-947.png
          image-2019-05-14-10-37-47-947.png
          33 kB
        38. image-2019-05-14-10-38-10-585.png
          image-2019-05-14-10-38-10-585.png
          34 kB
        39. image-2019-05-14-10-38-20-088.png
          image-2019-05-14-10-38-20-088.png
          31 kB
        40. image-2019-05-14-10-38-40-073.png
          image-2019-05-14-10-38-40-073.png
          38 kB
        41. image-2019-05-14-10-38-51-647.png
          image-2019-05-14-10-38-51-647.png
          36 kB
        42. image-2019-05-14-10-38-57-600.png
          image-2019-05-14-10-38-57-600.png
          37 kB
        43. image-2019-05-14-10-39-06-098.png
          image-2019-05-14-10-39-06-098.png
          28 kB
        44. image-2019-05-14-10-39-12-667.png
          image-2019-05-14-10-39-12-667.png
          22 kB
        45. Moodle QAMDLQA-12911 Moodle 3.7 QAMDLQA-13494.docx
          986 kB

            karinamartinez Karina Viviana Martinez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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