Restrict Access Moodle ISU


Restrict Access allows instructors to restrict access to activities according to conditions such as grades, dates, or the completion of other activities.

This guide will help you to:

Apply Access Restrictions to an Activity/Resource

  1. Turn editing on. For more information, see Moodle ISU Overview
  2. Locate the activity/resource that you want to conditionally release to the students.
  3. From the Edit dropdown menu, Select Edit settings.

Edit Settings.jpg

Note: Different activities and resources will have different access restrictions options.

Edit the Resource Page

  1. Scroll to the Restrict access section.
  2. Click Add restriction.

  1. A pop-up will appear and you will have a list of restrictions you may add.

Add Restriction Types

  1. Activity completion -  This option will restrict access for a specific activity until students complete another activity.
  1. To restrict access based on completing another activity,  Select Activity completion.
  2. From the Student dropdown menu, Select whether or not the student must match the options following.

  1. From the Choose dropdown menu, Select the assignment you wish your students to complete in order to gain access to this activity.

scroll down menu.jpg

  1. Set the requirement for the previous activity status as:
  1. Must be marked as complete
  2. Must not be marked as complete
  3. Must be complete with pass grade
  4. Must be complete with fail grade


  1. Date -  This option prevents a student from accessing an activity until a specific date and time.
  1. To restrict access based on dates, Select Date.  
  2. A Date block will appear under Access restrictions.
  3. From the dropdown menus, Select the date options appropriate for the access restriction.

Access Restrictions 2.jpg

  1. Grade -  This option restricts students from accessing an activity until they earn a specific grade on another activity.
  1. To restrict access according to grades, Select Grade.
  2. A Grade block will appear under Access restrictions.
  3. From the dropdown menu, Select one of the following:
  1. Course total - this choice will use the course total grade as the condition.
  2. Category total - this choice is only available if you have categories set up in the gradebook.
  3. An activity - you can choose a specific activity from your course to use as a grade condition.
  1. In the Must be ≥ % and < % text boxes, Type the grade percentages for which you wish to allow access to the activity.

Access Restrictions Grade 1.jpg

Note: You can enter numbers into both boxes or into just one box.

Note: All grade conditions must be met in order for students to access the activity.

  1. Group -  This option allows you to set up an activity to be available for only a certain group. If an instructor sets this up, students in other groups will not have access to the activity.
  1. To set the Restrict access based on a group, Select Group.
  2. From the Group dropdown menu, Select a group to assign to the activity.

Access Restrictions Group.jpg

Note: You will need to set up your groups and groupings before adding groups as a restriction to your activity.  

For more information, see Groups and Groupings

  1. Grouping - This option allows students access to an activity or resource within a  group that has a specific grouping (group of groups).
  1. To restrict access based on grouping, Select Grouping.
  2. A Grouping block will appear.
  3. From the Grouping dropdown menu, Select the grouping you wish to assign to the activity.

Access Restrictions Grouping.jpg

  1. User profile -  This option allows an instructor to control a student's access to a specific activity or resource based upon an explicit field within a student's profile. For example, you can set up a restriction to an activity based upon a student’s city and town.
  1. To restrict access based on a student’s profile, Select User profile.
  2. A User profile field block will appear.
  3. From the dropdown menu, Select the criteria from which you would like to base this restriction.
  1. From the next dropdown menu, Select how strictly you would like the criterion to filter the users (i.e, Contains, Starts with, etc.).
  2. In the final box, Enter your specifications. For example: If First name was selected and it was set to Start with a certain letter, you would Enter in that letter into the last box.

Access Restrictions Profile.jpg

  1. Restriction set - This is a complex setting that allows an instructor to add more than one restriction at a time. For example, you could restrict an activity based on date and grade earned in a separate activity.
  1. To add restrictions using a restriction set, Select Restriction set.
  2. A block will appear with an Add restriction button.
  3. Click Add restriction.
  4. Select which category you wish to use for the set.

Add Restriction.jpg

  1. Repeat for each different category you wish to include in the set.

Note: You can use multiples of the same category in a set. For example, you can set more than one grade requirement.

Access Restrictions Multiple.jpg

Hide the Restrictions

Once you have the restriction set, you will have the option to either hide the content from the rest of your class or leave it so that everyone in the course may see it. However, only those who qualify for the restriction can complete the activity.

  1. There will be an eye icon next to the Restriction(s) you have set.
  1. If the eye is open, then students who do not meet the condition will see the activity.

Access Restrictions Visible.jpg

  1. If the eye is crossed out, then students who do not meet the condition will not see the activity.

        Access Restrictions hidden.jpg

To save:

  1. Click Save and display to go to the activity.
  2. Click Save and return to course to be taken back to the course homepage.
  3. Click Cancel to delete changes to the activity.


For more information, see Restrict Access Settings

For additional information, contact the ITRC - (208) 282-5880 or email

This work was done by Instructional Technology Resource Center at Idaho State University and is licensed under the Creative Commons Unported License. To view a copy of this license, visit Attribution Noncommercial 3.0 United States or send a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.