As a follow up of MDL-83185, we might have issues with refreshing the course index. This would happen when for example a condition on visibility has been set on a section/subsection or activity (restrictions) and this condition depends on a specific user or course setting (for example a user profile, a completion...)
We have to:
- Try to make an exhaustive list of all events leading to a course index change
- Evaluate the impact of refreshing / resetting the course index on those events (too frequent reset might really affect performance), and if there would be a way to do a reset only in special circumstances (course content, availability change)
We have currently few events that would refresh the course cache:
- Group changes (
MDL-83185) - Module creation
- Module update/course update
- Role switch
- Completion update
Events I can think of:
- Event that can lead to an availability changes (there are many but we have at least user profile, grouping
- Change in role for a user
...
- has been marked as being related by
-
MDL-83185 Course index not updated after group restriction change
-
- Closed
-