The Restrict Access feature in Moodle is used to control when and how learners can access specific activities or resources within a course. Its main purpose is to create a structured learning pathway by setting conditions that must be met before certain content becomes available, ensuring learners progress through the course in a logical and guided sequence.
One of its key benefits is improved learner engagement and progression. By releasing activities based on conditions such as completion of previous tasks, dates, or grades, learners are encouraged to follow the intended learning flow. This helps them build knowledge step by step, improves retention, and ensures they are adequately prepared before moving on to more advanced topics.
It is best used in structured learning environments where sequencing is important, such as compliance training, competency-based programs, or multi-module courses that require prerequisites. It is also highly effective when content needs to be released gradually, such as weekly lessons or milestone-based delivery, helping maintain pace and focus throughout the course.
Restrict Access can be applied to most Moodle activities and resources, including quizzes, assignments, lessons, forums, files, pages, and even sections or topics within a course.
Overall, Restrict Access in Moodle enhances course organisation, supports better learning outcomes, and ensures learners engage with content in the correct order at the right time.
1. Go to the course where the activity can be found and enable Edit mode.
2. Go to the activity’s settings, then navigate to the Restrict Access section. In this example, since the activity already exists, simply open it and navigate to its settings. For activities that are yet to be created, Moodle will prompt you directly to the settings page during setup.

3. Click on the Add restriction button. The following options are available:
This restriction allows access to an activity only when a learner has fully completed a specific course. It is used to enforce progression across courses, ensuring learners finish foundational or prerequisite courses before advancing. This is best used in structured programs such as certifications or compliance training where completion of earlier training is mandatory before unlocking the next stage.
The Date restriction controls access based on a specific date or time range. Activities can be hidden until a set opening date or locked after a closing date. This is best used for scheduled learning, such as weekly module releases, timed assessments, or course materials that must only be available during a defined training period.
This restriction allows access based on a learner’s grade in another activity, such as a quiz or assignment. It is commonly used to ensure learners achieve a minimum standard before progressing. This is best used in competency-based training where learners must demonstrate understanding before moving forward.
The Group restriction limits access to specific groups of learners within a course. Only members of selected groups can view or complete the activity. This is best used when different cohorts, classes, or training streams need separate content within the same course.
This condition restricts access based on completion of a different course entirely. It is similar to “Course completed” but applies across multiple courses. This is best used when designing learning pathways where completion of one course unlocks another, such as prerequisite training in multi-course programs.
This restriction requires learners to enter a password before accessing an activity. It adds an extra layer of controlled access. This is best used for securing sensitive materials, assessment activities, or special resources that should only be accessed by authorised learners or provided groups.
This restriction requires a successful payment via PayPal before access is granted. It is used to link course access to financial transactions. This is best used for paid courses, enrolment-based learning, or eCommerce-driven training offerings where access is conditional on payment.
This restriction controls access based on fields in a learner’s profile, such as department, location, or custom fields. It is best used for personalised learning paths or organisational training where different users require different content based on their attributes.
This restriction allows access depending on the user’s assigned role in the system, such as student, teacher, or manager in Moodle. It is best used in situations where different user types need different levels of access within the same course, ensuring that activities are only visible to the appropriate audience based on their role.
When a specific role is selected, the activity becomes accessible only to users assigned that role. For example, if the role is set to Student, only users with the Student role will be able to view and complete the activity, including submitting assignments or interacting with it. Users with other roles, such as Teachers or Managers, will not have access unless their role is also included in the restriction.
This allows multiple restrictions to be grouped together using logic such as “all conditions must be met” or “any condition can be met.” It is best used when combining multiple rules, such as requiring both a grade threshold and course completion before unlocking content, enabling more advanced and flexible access control structures.
IMPORTANT: In Moodle, you may not see the option to enforce activity completion if the activity does not have completion settings turned on first. Each activity you want to use in a sequence must have completion tracking enabled, such as requiring a view, submission, or grade.
Without these settings, the system cannot track whether the activity is done, so you will not be able to set activities to follow a specific order.
4. When you are satisfied with the restrictions you have set, scroll to the bottom of the page and click the Save and display button.
That’s it! You’ve now learned how to set up Restrict Access in Moodle to control learner progression and create a structured learning pathway.
By applying restrictions effectively, you can ensure learners access content in the right sequence, improving engagement and supporting better learning outcomes across your course.
Congratulations on completing this tutorial. We hope this has been helpful to you and your organisation. For any questions or concerns regarding this function, please reach out to the contact support via email.