Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-15457 Moodle 3.11 QA
  3. MDLQA-15777

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)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.

        1. 15777-06.10teacherview.PNG
          6 kB
          Minh Hanh NGUYEN
        2. 15777-06.12URLstudent.PNG
          3 kB
          Minh Hanh NGUYEN
        3. 15777-06.22URLstudent.PNG
          2 kB
          Minh Hanh NGUYEN
        4. 15777-06-11studentview.PNG
          3 kB
          Minh Hanh NGUYEN
        5. 15777-06-20teacherview.PNG
          7 kB
          Minh Hanh NGUYEN

            hanhnguyen Minh Hanh NGUYEN
            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.