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

Course index not updated after group restriction change

XMLWordPrintable

    • HQ 2024 Planning I4 Moppies

      This issue was discovered in MDLQA-19368 (See comment from Luiggi for more context).

      When a subsection has group restriction, after adding/removing a user from the restricted group, the course index is not correctly updated and needs an extra page reload.

      Steps to reproduce

      1. As teacher create a group and add the student in
      2. Add a group restriction for the "Stealth activities" subsection
      3. As student, confirm you can see subsection and all items
      4. As teacher, delete the student from group
      5. As student, confirm you can see restriction message and cannot see items
      6. What should happen: In the course index, activities inside subsection should NOT be visible
      7. What happens: In the course index, activities inside subsection are visible
        • Reloading the page an extra time will fix it.

            laurent.david@moodle.com Laurent David
            mikelmartíncorrales Mikel Martín Corrales
            Mikel Martín Corrales Mikel Martín Corrales
            Ferran Recio Ferran Recio
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 7 hours, 13 minutes
                7h 13m

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