Restriction by other section completion

Availability conditions ::: availability_sectioncompleted
Maintained by Stefan Scholz
Moodle availability plugin which lets teachers restrict resources, activities and sections based on other sections being completed
Latest release:
32 sites
8 fans
Current versions available: 1

Motivation for this plugin

This plugin was built to enable teachers to easily restrict activities or sections to students that have completed another, usually the previous section. This is currently already possible by adding several restrictions; this plugin simplifies that for the teacher – and has also the nice and intended side effect that it looks better for the student.


Install the plugin like any other plugin to folder /availability/condition/sectioncompleted

See for details on installing Moodle plugins

Usage & Settings

After installing the plugin, it is ready to use without the need for any configuration.

Teachers (and other users with editing rights) can add the "Section Completed" availability condition to activities / resources / sections in their courses. While adding the condition, they have to pick the section the student is required to complete before accessing the activity / resource / section.

If you want to learn more about using availability plugins in Moodle, please see

Potential privacy issues

None. The plugin does not store any personal data.


Screenshot #0
Screenshot #1


Stefan Scholz (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Sat, May 1, 2021, 2:50 AM
    Approval issue created: CONTRIB-8524
  • Wed, Jun 23, 2021, 10:52 AM
    Great job!
    This condition minimizes the configuration of various conditions by activities or resources.
    Thank you very much =)
  • Fri, Jun 25, 2021, 1:27 AM
    Very good your plugin, it really understands the needs.
    You know if I can make the restriction by completing the previous section. Because if we have this option, the mobility of the sections would certainly be more dynamic.
    Just by dragging the section to the correct order, the plugin would already understand that the conclusion is now the previous section, avoiding entering the plugin's settings again and adjusting the section manually.
    Thank you very much
  • John Provasnik at Moodle Moot US
    Thu, Jul 1, 2021, 2:11 AM
    Hi! If a student is 'excluded' from an activity (in the gradebook), does this plugin take that into account? or will a student remain 'stuck' from moving onto the next section until 'all' activities in a current section meet the completion criteria.
  • Cycle Touring in Portugal
    Tue, Jul 6, 2021, 6:22 AM
    Thanks Stefan, really like the plugin. One thing I've noticed though is that the the Reports section of the User Profile the Outline Report and the Complete Report only show detail from the first Module. In my course, there are 5 modules, so there is missing detail for 4 other modules. Do you have any suggestion how to fix this?
  • Wed, Jul 7, 2021, 11:34 PM
    I knew it was too good to be true. What this plugin gives you with one hand (Section Completion) it takes away with the other (limits both Outline report & & Complete Report to just the 1st module). This makes it practically useless, as I use those reports to grade all my students. Now I'm completely screwed as have used it on all my courses and they have already started. Gutted.
  • Wed, Jul 7, 2021, 11:38 PM
    Hi Stephen, I am not sure what you mean exactly. Can you please explain? Feel free to contact me directly (discussions here are not very convenient) at
  • Wed, Jul 7, 2021, 11:39 PM
    Hi “the web side”,
    Can you please explain what you mean? Is it the same issue that Stephen has?
  • Wed, Jul 7, 2021, 11:40 PM
    Hi Bruno, great idea! Added to the roadmap for the next release! Thanks!!
  • Cycle Touring in Portugal
    Thu, Jul 8, 2021, 12:14 AM
    Yes, Stefan...the same issue as stephen.
  • Fri, Jul 9, 2021, 2:43 AM
    Quick Update: After a bit of research, it seems that this is a known issue of core moodle. See this tracker issue: We'll continue to investigate.
Please login to post comments