Set visibility rules for lessons and activities
Show a lesson, module or activity only to selected tags, users or roles, or reveal and hide it on a set date and time.
Written by Filippo Schiano di Pepe
Updated
You can restrict the visibility of a module or activity in your course curriculum based on rules you set. Only the learners who match the rules can see it.
For example, in a programming course you may split students into front-end and back-end groups with a Tags activity, then create a module that only back-end students can see. Or you may want a survey about the assigned instructor or assistant that only learners see.
When you add a lesson or a module to the course, you will find the Visibility settings. Click + Add Rule to choose one of five rule types.


Tags
Only learners with the tags you allow can see that part of the course. To learn more about tags, see Assign tags to learners.
- In the Visibility settings of the lesson or module, click + Add Rule.
- Select Tags.
- Select the tags whose learners can see the lesson or module.

Selected users
You can also choose the users who can see an element of the course manually.
- In the Visibility settings of the lesson or module, click + Add Rule.
- Select Select Users.
- Click the Select Users field. A list of the users enrolled in the course appears.
- Select the users who should have visibility.


Roles
You can restrict visibility by role: Owner, Admin, Instructor, Assistant or Learner. For example, to create a module only for assistants, add a role rule and allow only the Assistant role.
- In the Visibility settings of the lesson or module, click + Add Rule.
- Select Roles.
- Switch on the roles that can see the element. You can select multiple roles.

Reveals at
Set a date and time when the element is revealed to learners.
- In the Visibility settings of the lesson or module, click + Add Rule.
- Select Reveals At, then pick the date and set the time to reveal the element.

Hides at
Set a date and time when the element is hidden from learners.
- In the Visibility settings of the lesson or module, click + Add Rule.
- Select Hides At, then pick the date and set the time to hide the element.
Did this answer your question?