Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.



Restrict access settings are included on rollover, remember to update your Restrict access settings on content and activities that are rolled over.


How to apply
How to apply
How to apply Restrict Access to your resource, activity or section

  • When you create a resource or activity, or edit a section summary, you will find the Restrict access settings near the end of the settings page. Expand the settings by clicking on it.

Restrict access Settings

  • Click on the Add restriction... button, a choice of conditions appears.

Restrict access settings opened showing all restrictions available

what conditions
what conditions
What conditions are available for restriction?

Activity Completion

Restrict access settings for activity completion

Activity Completion is enabled by default on new modules. If you are working on a pre- 2020-21 module you will need to enable Completion Tracking from Settings>>Edit settings .Once you have set up Activity completion on an activity or resource, Activity completion becomes an option available from the Add restriction menu.

You can use the Activity completion settings to define what constitutes completion. Restrict access in combination with Activity completionmeans that you can require that students view certain resources or complete certain activities before moving on to others.

titleActivity completion Example...

Week 2 materials are available only if the student has read the Week 1 Presentation:

  • Activity completion setting in 'Week 1 Presentation'

Activity completion tracking

  • Restrict access setting in 'Week 2 Presentation'

Restrict access restrictions and dependencies


Restrict access by date

Access can be restricted from or until a certain date and time.

titleDate Example...

This material is for Week 2. It will be available to students from 9th September at 9am.

Restrict access by date


Access restrictions - choose a grade item

You can specify a condition on any grade in the course: the full course grade, or the grade for any activity in the module. You can enter either a minimum value (at least percentage), a maximum value (less than percentage), both, or neither by clicking on the relevant checkbox.

titleGrade Example...

This is the resit coursework question. It should be visible only to students who need to resit Assignment 1 as they achieved less than a passing grade:

Restrict access settings by grade


Access restrictions - group

If groups or groupings are set up in the module, it is possible to restrict the activity or resource to a certain group or grouping (which is a cluster of groups). If you choose the option 'Any group', the resource/activity will be available to student who has been assigned to a group (any group). It should not be misinterpreted as students who are not associated with any group.

titleGroups Example...

Only students in Group A should have access to this material:

Access restrictions - group A

User ProfileAccess restrictions - user profile

Every user account in Moodle has profile fields like: name, city, country, etc. You can select to restrict availability of materials base on a student's Moodle identity. Some useful profile fields are:

  • First name
  • Surname
  • Email address
  • Course code*
  • Programme code*
  • Route code*
  • Mode of attendance* (refer to e.g. part-time, full-time, or distance taught mode)
  • Occurrence* (refer to mode of attendance and month of intake)
  • Student status* (e.g. if the student is current)

*This data is drawn from our student record system - SITS and is recorded in specific coding. Please liaise with your course office if you want to utilise these fields.

titleUser Profile Example...

Both the undergraduate and postgraduate students share the same module space. This content is only available to the postgraduate students:

Restrict access by Programme code

Restriction set

Restriction set

This allows you to add a set of nested restrictions combining the use of the above conditions in order to achieve a more complex logic.

titleRestriction set Example...

This is Week 2 material will be available only after 26th September at 9am, and it will be available to students in Group A or Group B only:

Restricted to Groups A and B and from 26th September 2018

all or any
all or any
How to choose ALL or ANY conditions?

If you add more than one restriction, you can decide if all the conditions need to be met or only some of them.

ALL'All' and 'and' are used when all conditions must be met.

ALL the conditions need to be met. These are AND conditions.

ANY'Any' and 'or' are used when any of the conditions must be met

ANY of the conditions are required before the activity is made available. These are OR conditions.

student view
student view
What will students see if a resource, activity or section has Restrict Access applied?

No matter which condition setting you have chosen, you can choose to either grey out/hide the activity/resource.completely. To set these options, you use the eye icon next to the condition:

Shut eye

If the eye is SHUT then students who do not meet that part of the condition will not see the activity at all.

Open eye

If the eye is OPEN the students who do not meet that part of the condition will see the activity but it will be greyed out and have information about why they can't access it yet.

The shut-eye takes precedence. For example, you could have two conditions, one based on date (with eye shut) and one based on completing a previous activity (with eye open). The activity will not appear for students until the date; then it will be visible with information for students explaining that they need to complete an activity before they can access the materials. When students complete the activity they can access the resources.

titleExample student view with open-eye for restrictions: Click here to expand...

Student view of access restrictions with open eye