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:
135 sites
11 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


  • 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.
  • Mon, Aug 16, 2021, 7:35 PM
    In moodle 3.10 it does not work well with the "Edwiser Course Formats".

    And there is an error when we try to use this condition in Task type activities. When saving the configuration.
    Although it is still recorded in the activity.

    = (
  • Thu, Aug 26, 2021, 9:56 PM
    Hi, thanks for this great plugin.
    I have a question about this restriction, I think it does not work with all activities and resources, because if I restrict access to a complete section at the end of a previous section, if this section contains a forum, a book or a file it does not work, but if you have a questionnaire, yes.
    Could it not work with all types of resources and activities or am I doing something wrong?
  • Thu, Sep 9, 2021, 8:03 PM
    I believe the reason is not the course format but because of the activity, which in my case we have a lot of h5p activities. But I'm not sure
Please login to post comments