Skip to main content
UNSW Sydney Logo
Teaching
Mobile search
mobile nav menu button
  • About
  • Teaching
    • New to teaching
    • Educational design
    • Assessment and feedback
    • Evaluating education
    • More...
  • Educational Technology
    • Support
    • Training
    • TELT Administrator
  • Events & News
    • Upcoming events
    • Recent news
    • Event recordings & resources
    • Subscribe to education news
  • Awards
    • Awards
    • Fellowships
    • Gathering evidence of your teaching practice
  • Professional Development
    • Beginning to Teach (BTT)
    • Teaching Accelerator Program
    • Foundations of L&T (FULT)
    • Course Design Institute (CDI)
    • Self-paced learning
    • Academic Mentoring
    • More...
  • Contact & Support
  • About
  • Teaching
      1. New to teaching
      2. Educational design
      3. Assessment and feedback
      4. Evaluating education
      5. More...
  • Educational Technology
      1. Support
      2. Training
      3. TELT Administrator
  • Events & News
      1. Upcoming events
      2. Recent news
      3. Event recordings & resources
      4. Subscribe to education news
  • Awards
      1. Awards
      2. Fellowships
      3. Gathering evidence of your teaching practice
  • Professional Development
      1. Beginning to Teach (BTT)
      2. Teaching Accelerator Program
      3. Foundations of L&T (FULT)
      4. Course Design Institute (CDI)
      5. Self-paced learning
      6. Academic Mentoring
      7. More...
  • Contact & Support

Breadcrumb

  1. Teaching
  2. Technologies
  3. Educational Technology
  4. Moodle
  5. Build Courses in Moodle
  6. Build Your Moodle Course
  7. Adding Course Content

Restrict Access to an Activity, Resource, Week or Topic in Moodle

Overview

Restrict access settings are used to restrict or hide resources from students under different conditions. Instructors can use this to make students' access to learning materials dependent on conditions such as:

  • students' completion of a previous activity—use the Activity completion settings to define what constitutes "completion"
  • the current date (you can set from and until dates)
  • students' grades for a previous assignment, or for the entire course so far
  • a particular user profile field (e.g. Country, ID number, Surname—you can restrict access to an individual user this way).

You can restrict access to individual resources or activities, and to entire course home page sections.

The Hide feature may also be used if conditions are not needed and material needs to be hidden to all students.  Stealth Mode can also be used to hide activities in the course home page but still allow students to access if they have a URL to the material. Instructions for this can be found in the Advanced Guide section of the Hide an Activity or a Resource from Students page.

This page provides instructions for configuring restrict access.

When to use

Restrict access can be used to selectively release content and create a self-paced learning environment in which students must attain a certain grade on one activity before the next resource in a sequence becomes available to them.

Resources can also be released only to specific students by applying either the 'User profile' and 'ID Number' restriction to restrict to specific zIDs or with groups/grouping restrictions.

If you only want to hide a resource to all students, restrictions are not necessary. Items may be hidden by opening the 'Edit' menu beside an activity or section and clicking 'Hide'

Edit menu open beside a book resource and mouse clicking 'Hide'

You can also do the same thing for course sections to hide everything within a section.

Mouse clicking on 'Edit' menu beside a section and selecting 'Hide topic'

You can also restrict access to an activity or resource using groups and groupings.

Benefits

The Restrict access settings allow you to tailor your course to specific students' needs, making it more flexible and responsive.

Guide

Step by step instructions

Restrict access to a resource or activity to students

  1. In the edit menu of an activity or resource, find restrict access and click Add restriction.
    Mouse clicking on 'Add restriction'
  2. In the Add restriction selection box, click the type of restriction you want to add. The box closes and the appropriate fields display under Restrict access.
    'Add restriction' popup with options 'Date', 'Grade', 'User profile', 'Release code' and 'Restriction set'
  3. After selecting a restriction, complete the fields to set the parameters of the restriction. This is different depending on the restrictionExamples of restrictions as described in the below list
    • Activity completion: 
      • Select the relevant activity and completion condition.
      • Note: for Activity completion restriction to be available, Activity completion must be enabled for the course and there must be at least one activity with Activity completion enabled. For details about enabling Activity completion for the course and on individual activities, see Set up Activity Completion in Moodle
    • Date: 
      • Select either from or until
      • Then select an appropriate date, month, year, hour and minute.
    • Grade
      • Select the activity
      • Enter the grade parameters in one or both of the two percentage fields.
    • Group or Grouping: 
      • Select the relevant group or grouping that will be the only group to access the activity.
      • Note: For restriction by group or grouping to be available, there must be at least one group or grouping configured in the course. For details about using groups and grouping, see Create a group in Moodle, and assign an activity to it
    • User profile:
      • Select the profile field in the first dropdow
      • Set condition to restrict to in the second and third field.
      • For example, to restrict access to an individual student, you might select ID number into the first field, select contains into the second field, and enter the student's ID number in the third field.
    • Restriction set allows complex groups of restrictions to be created:
      • Click Add restriction within the new restriction set and add restrictions as you normally would (ie steps 2-3)
         
  4. Add as many restrictions as are appropriate to the activity, then above the restrictions list select whether the student must/must not match all/any of them. If you need a mixture of these logic conditions, consider using a restriction set.
    Line "Student must match all of the following" the must and all are dropdowns.
  5. If you want the activity hidden from students who do not meet a condition, click the Hide icon beside it .
    Mouse clicking on eye hide icon
  6. At the bottom of the page, Save your changes.
    Mouse clicking 'Save and return to course'

Restrict access to a course home page section to a single group/grouping

In addition to restricting access to a course home page section in the ways detailed in the instructions above, you can also restrict access to an entire week or topic on the course home page. One example is to only give access to certain groups or groupings, all other available restrictions can also be used. 

  1. Click Turn editing on Turn editing on button.
  2. Click the Edit summary icon for the relevant page section.
    Mouse clicking on edit cog icon below a section
  3. On the Summary page, expand the Restrict access section.
    Mouse clicking on 'Restrict access'
  4. At Access restrictions, click Add restriction.
    Mouse clicking on 'Add restriction'
  5. In the Add restriction selection box, click Group or Grouping. The box closes.
    Mouse clicking on 'Grouping'
  6. On the Adding or Updating page, under Restrict access, select the relevant group or grouping.
    Mouse selecting a grouping
  7. Specify any other relevant restrictions, referring to the instructions above.
  8. If you want the activity hidden from students who do not belong to the specified grouping, click the Hide icon beside the restriction .
    Mouse clicking on eye icon beside grouping restriction
  9. Click Save changes.
    Mouse clicking on save changes

Additional information

Further assistance

If you experience technical or other issues, consult the Where to get help page.

  • Educational Technology
    • Moodle
      • Login
      • Build Courses in Moodle
        • Orientation to Moodle
        • Request Course through myUNSW
        • Build Your Moodle Course
          • Course Design
          • Course Home Page
          • Adding Course Content
            • Activities
            • Resources
            • Add a Book
            • Upload a File
            • Using Blocks
            • Attendance
            • Create a Folder
            • Atto Text Editor
            • Text Editor
            • Blog
            • Copy Text from Word
            • IMS content package
            • Chat
            • Tables
            • Choice
            • Create a Lightbox Gallery
            • Legacy Course Files
            • Create a Label
            • Database
            • Images
            • Create a Web Page
            • Dialogue
            • Video
            • Add a URL
            • Feedback
            • Forum
            • Hide Resource or Activity
            • Glossary
            • Restrict access
            • Activity Completion
            • Group
            • Group Selection
            • Lesson
            • SCORM Package
            • Create a Questionnaire
            • Use the Moodle Calendar
            • Add test students
            • Survey activities
            • Course menu block
            • Create Wiki Activity
            • Scheduler activity
            • Create media gallery
            • Dropbox files
            • Course overview
            • Create a Checklist Activity
            • StudentQuiz
            • VoiceThread Instruction
          • Assessment Tools
          • Blackboard Collaborate Ultra
          • Personalized Learning Designer
          • Team Builder
        • Bring Content into your Teaching Instance
        • Facilitate and Deliver Course
        • Uploading grades to SIMS using Astra
      • Course Administration
      • Moodle Releases
      • Moodle Upgrade Project
      • Feature Requests
      • Contacts
      • Index of all support pages
    • Lecture Recording+
    • Turnitin
    • theBox
    • Other eLearning Tools
    • Feature Requests
    • Book a Consultation
    • Digital Media Support & Equipment
    • Immersive Technologies
    • TELT Service Status
    • Known System Issues
    • System Maintenance Windows

Events & news

Grades, Risk and Psychopathy: Students’ Willingness to Pay for Essays
Finding a teaching space just got much easier!
More
Back to top
  • Print
  • Share
    • Facebook
    • Twitter
    • Google
    • Email
  • Home
  • About
  • Educational Technology
  • Events & news
  • Awards
  • Contacts

Authorised by Pro Vice-Chancellor Education
UNSW CRICOS Provider Code: 00098G, TEQSA Provider ID: PRV12055, ABN: 57 195 873 179
Teaching at UNSW, Sydney NSW 2052, Australia Telephone 9385 5989

Footer menu

  • Privacy Policy
  • Copyright & Disclaimer
  • Accessibility
  • Report an incident
  • Complaints
  • Site Map
  • Site Feedback
Page last updated: Monday 13 July 2020