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

Activity access restrictions do not work when using activity completion with passing grade criteria and failed grade is given

XMLWordPrintable

    • 3
    • HQ 2023 Planning i4 Moppies

      Hello,

      There is a critical bug in Moodle 4.2 & 4.1.5, restrict access do not work on activities or course sections if you use restriction rule "activity completion" -> select an activity -> "must be marked as completed".

      Steps to repeat

      1. Create quiz1
      2. Set grade to pass 10
      3. Add one question to quiz1
      4. Create quiz2
      5. Create "restrict access" rule "activity completion" -> choose quiz1 -> choose "must be marked complete"
      6. As as student answer wrong to the quiz1 so you get grade 0
      7. notice how you now have access to quiz1 when you shoudn'the

      same goes if you use restrict access on course sections. I have also attached a video from https://sandbox.moodledemo.net/

      rest.mp4

        1. gssandbox1.png
          gssandbox1.png
          60 kB
        2. gssandbox2.png
          gssandbox2.png
          58 kB
        3. image-2023-12-22-00-49-24-175.png
          image-2023-12-22-00-49-24-175.png
          152 kB
        4. image-2024-01-09-13-28-50-455.png
          image-2024-01-09-13-28-50-455.png
          32 kB
        5. rest.mp4
          2.23 MB
        6. rest-1.mp4
          2.23 MB
        7. restrcition.mp4
          2.32 MB
        8. RestrictionBasedOnGrade-NotWorking-720p.mov
          35.77 MB
        9. screenshot-1.png
          screenshot-1.png
          26 kB
        10. screenshot-2.png
          screenshot-2.png
          43 kB

            sarjona Sara Arjona (@sarjona)
            urpokarhu Jari Vilkman
            Carlos Escobedo Carlos Escobedo
            Huong Nguyen Huong Nguyen
            CiBoT CiBoT
            Votes:
            3 Vote for this issue
            Watchers:
            22 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 5 hours, 40 minutes
                1d 5h 40m

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