Versions Compared

Key

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

There are many cases in which it is useful to restrict access to material in Moodle.  For example: sharing information with graders or keeping extra material hidden, some professors need to sharing homework solutions with graders.

Procedure

Create a group of users (students, graders, TA's, etc) that can access the content.  If a student is not in the group, they won't be able to see the content.

  1. Go to 

...

  1. Participants   Groups (from dropdown menu)

  2. Click Create group

  3. Create a new group and give it a descriptive name.  None of the other information is required.  Click

...

  1. Save changes

...

  1. .  

  2. You should now see your group in the groups listing.  Click on the group name, then on the

...

  1. Add/remove users

...

  1. button.  Find users to add and click the

...

  1. Add

...

  1. button to add them to the group.  When you have

...

  1. finished adding all the group members,

...

  1. return to your course main page.

...

  1. For the resource or activity you want to limit access to

...

  1. , click toggle edit mode on at the top right corner, click on the activity, then Edit settings

  2. Under

...

  1. Restrict Access

...

  1. , add a new restriction

  2. Select

...

  1. Group

...

  1.  and pick the group you want to have access to the item

  2. Click on the eyeball next to your group so that the item will be hidden totally from users not in that group 

  3. Save changes.  When you return to the course main page you will see an indication that the item is restricted

Additional Notes

Restricting Topics

It is possible to add a group restriction on a topic or week.  Follow the same procedure as above, but set the restriction on the entire topic.  You will need to leave the topic and all its contents visible, but Moodle will display a label indicating that access to the topic is restricted.  You do not need to adjust the permissions/restrictions for any of the items within the topic.  If the topic itself is restricted so will all the contents of the topic. 

Viewing as a Different Role Doesn't Work as Expected 

Roles and Groups in Moodle are two different things.  It is possible to switch your role to see what a Student or Grader sees, but it is not possible to set a specific group.  Because we can only restrict visibility based on groups, it isn't possible to verify that the visibility of a topic or item based on group membership. 

...