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

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.

New 01 / 10

At least a number of activities

Require all completion-tracked activities of a section, as before, or only a minimum number of them.

Previous section · at least 2 activities · must be completed

New 02 / 10

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.

New 03 / 10

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)”.

What learners see: "Basics completed. (2 of 3 so far)"

New 04 / 10

Unlocked content appears immediately

When learners mark the last activity they need as done, the course page reloads and shows what is now open.

New 05 / 10

Subsections

Choose subsections as “Section › Subsection”; “Previous section” also works inside subsections.

Improved 06 / 10

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.

Improved 07 / 10

Backup and restore

Restored and imported courses now point the restriction to their own sections.

Platform 08 / 10

Moodle 4.5 to 5.3

Moodle 4.5 is now the minimum; sites on older versions stay on 1.1.

Upgrade 09 / 10

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.

Quality 10 / 10

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.