How to Set Up Restrict Access for Moodle Activities

How to Set Up Restrict Access for Moodle Activities

Idea
Overview
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.

Notes
Step Tutorial
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:
Course completed
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.
Date
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.
Grade
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.
Group
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.
Other course completion
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.
Password
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.
PayPal payment
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.
User profile
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.
Role
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.
Restriction set
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.

Warning
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.
    • Related Articles

    • Online Learning Assessment Form: Assessor Only Activities

      Assessor Only Activity is a feature of the Online Assessment Activity which allows the assessor to grade the student even when the assessment is still on-going. When enabled, the Assessment Activity will not be accessible to students enrolled in the ...
    • How to Automatically Set or Override Activity Due Dates

      Availability Override You need Course Creator level of access or higher to perform this action. Availability Override is a feature that allows course creator to restrict activity availability relative to enrollees enrolment date. Note: Once set, this ...
    • How to exclude Learning Activities from Course Grade v2

      Note: You need LMS Admin access before you can perform this action. This tutorial will show you how to exclude some activities from a Course Grade on a certain course. To update the course Gradebook Setup, follow the steps below: Step 1: From the ...
    • How to Set-Up Online Assessment Form Activity

      Overview The Online Learning Assessment form is an in-house activity used to create digital versions of Practical/Workplace Assessments, Case Studies, and Knowledge Assessments. It is designed for full customisation, allowing you to add various ...
    • How to Publish Courses or Activities from Your LMS as an LTI Tool v2

      Overview This guide explains how to publish a course activity as an LTI tool using Moodle. LTI (Learning Tools Interoperability) allows learners on a different system (known as an LTI consumer) to access selected activities, with grades sent back to ...