Release
Restriction by section completion 1.2: minimum activities, grades and progress for learners
Open content after some of a section's activities, with a pass or fail grade, and show learners how far they are. Plus a big performance fix and support up to Moodle 5.3.
- Published
- 29 October 2026
- Version
- 1.2
- Plugin
- Section Completion
Restriction by section completion opens activities, resources and sections once learners have completed another section – one restriction instead of many. Version 1.2 gives teachers more control over what "completed" means and shows learners how far they are.
At least a number of activities
Require all completion-tracked activities of a section, as before, or only a minimum number of them.
Pass or fail grade
Require the activities to be completed with a pass grade – or with a fail grade, for example to open extra help after a failed quiz.
Progress for learners
Learners who don’t meet the restriction yet see how far they are, for example “Basics completed. (2 of 3 so far)”.
Unlocked content appears immediately
When learners mark the last activity they need as done, the course page reloads and shows what is now open.
Subsections
Choose subsections as “Section › Subsection”; “Previous section” also works inside subsections.
Much faster background tasks
Badge, forum, completion and report tasks no longer rebuild the course cache for every user. On courses with chained section restrictions, these tasks could take hours before.
Backup and restore
Restored and imported courses now point the restriction to their own sections.
Moodle 4.5 to 5.3
Moodle 4.5 is now the minimum; sites on older versions stay on 1.1.
Please check before you upgrade
Subsections now count for their section, so a restriction on a section is only met when the activities in its subsections are completed too. The restriction is only offered in courses that track completion, and only lists sections with completion-tracked activities.
Tested and reviewed
Automated tests on Moodle 4.5 to 5.3 and a security review with MDL Shield (grade A, no findings). Also fixed: an unclear error message in the form, restrictions on deleted sections, PHP 8.4 warnings.
Restriction by section completion is free and open source. Thanks to everyone who reported issues and ideas.