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

A teacher can choose how a restricted activity is displayed.

    XMLWordPrintable

Details

    Description

      This test requires conditional access to be enabled globally (via Advanced Features) and within a course via Course administration>Edit settings. It also requires a course with a teacher and test student enrolled.

      1. Log in as a teacher, log in to a course, and create a Page resource.
      2. Expand the Completion conditions section and set ‘Add ‘requirements and criteria to ‘View the activity’.
      3. Save the page.
      4. Create a forum.
      5. Expand the Restrict Access section and click 'Add restriction'.
      6. Click 'Activity completion' and choose the Page resource, leaving the restriction at 'must match' Save the forum.
      7. Log in as a test student and verify the forum is unavailable with a restriction message relating to the page.
      8. Log back in as a teacher.
      9. Click on the activity action menu of the forum and select the 'Availability' option then check 'Hide on the course page' option.
      10. Log in as a test student and verify the forum is not visible at all.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:

              Clockify

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