Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-73999

SEB access rule doesn't let to save a quiz form if some permissions are missing

    XMLWordPrintable

Details

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • Hide
      1. Log in as admin
      2. Navigate to Users > Permissions > Define roles in site administration
      3. Edit the Teacher role
      4. Remove permission for the quizaccess/seb:manage_seb_templateid capability
      5. Create a user
      6. Create a course
      7. Enrol user in course as Teacher
      8. Log out
      9. Log in as test user
      10. Navigate to course
      11. Enable Edit mode
      12. Press Add an activity or resource
      13. Select Quiz, choose name
      14. Press Save and display
      15. Confirm new quiz is created and displayed
      16. Press Settings tab
      17. Choose a new name, press Save and display
      18. Confirm quiz is updated and displayed
      Show
      Log in as admin Navigate to Users > Permissions > Define roles in site administration Edit the Teacher role Remove permission for the quizaccess/seb:manage_seb_templateid capability Create a user Create a course Enrol user in course as Teacher Log out Log in as test user Navigate to course Enable Edit mode Press Add an activity or resource Select Quiz , choose name Press Save and display Confirm new quiz is created and displayed Press Settings tab Choose a new name, press Save and display Confirm quiz is updated and displayed

    Description

      In some combination of SEB related permissions a quiz form can't be submitted as a validation of the form failed by SEB access rule.

      Attached is an example of the role with broken list of capabilities. 

      Setps to replicate:

      1. Import attached role to your Moodle
      2. Create a course and quiz activity and set Require the use of Safe Exam Browser to Yes - Use SEB client config
      3. Enrol a user with imported in step 1 role to the course.
      4. Navigate to the quiz settings and try to submit the form
      5. Expected - form submitted
      6. Actual - you are still within a form and not error is displayed. 

      Attachments

        1. editingteacher.xml
          30 kB
        2. MDL-73999_2.png
          MDL-73999_2.png
          56 kB
        3. MDL-73999_1.png
          MDL-73999_1.png
          51 kB

        Issue Links

          Activity

            People

              pholden Paul Holden
              dmitriim Dmitrii Metelkin
              Tim Hunt Tim Hunt
              Ilya Tregubov Ilya Tregubov
              Angelia Dela Cruz Angelia Dela Cruz
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                19/Apr/22

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 55 minutes
                  55m