Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-16759 Moodle 4.1 QA
  3. MDLQA-17042

CLONE - A teacher can set restrictions based on user profile fields

XMLWordPrintable

      This test requires conditional access 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 (whose first name must NOT be ZXKYQW!)

      1. Log in as a teacher, log in to a course and create a Page resource.
      2. Expand the Restrict Access section and click 'Add restriction'
      3. Click 'User profile'
      4. In Access Restrictions, select: student must match..
      5. Set 'User profile fields' to: First name is equal to ZXKYQW
      6. Log in as the test student and verify you cannot access the page.
      7. Log back in as teacher and click to edit the page.
      8. Change the Access Restrictions to: student must NOT match and save.
      9. Log back in as test student and verify you can now see the page.

            tszkutnik Tomasz Szkutnik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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