# 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.

Source: https://support.teachfloor.com/articles/lesson-visibility-rules  
Collection: Courses & Curriculum  
Last updated: 2026-11-22

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](https://support.teachfloor.com/articles/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.

![Visibility section with the message No rules added, all learners can view this activity, and an Add Rule button](https://cdn.sanity.io/images/l9t3o6uq/production/30a95d2e74b6dee5b2b7f843e79fadc60b6175d5-852x220.png)

![Add Rule menu listing the five rule types: Tags, Select Users, Roles, Reveals At and Hides At](https://cdn.sanity.io/images/l9t3o6uq/production/3faf30254396c522ebbf58e8771841b8a952f660-345x341.png)

## 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](https://support.teachfloor.com/articles/assign-learner-tags).

1. In the **Visibility** settings of the lesson or module, click **+ Add Rule**.
2. Select **Tags**.
3. Select the tags whose learners can see the lesson or module.

![Tags rule For learners associated with the following tags, with a dropdown of colored tags](https://cdn.sanity.io/images/l9t3o6uq/production/c97ee4470b74348fe4e6e587aaeb671f6c4553c7-1156x425.png)

## Selected users

You can also choose the users who can see an element of the course manually.

1. In the **Visibility** settings of the lesson or module, click **+ Add Rule**.
2. Select **Select Users**.
3. Click the **Select Users** field. A list of the users enrolled in the course appears.
4. Select the users who should have visibility.

![Select Users rule with the For users field and an empty Select Users dropdown](https://cdn.sanity.io/images/l9t3o6uq/production/c4f671e5c91b7596968e641d3d9ba18f84ece649-1155x378.png)

![Select Users dropdown open with a search box and a list of enrolled test learners](https://cdn.sanity.io/images/l9t3o6uq/production/65ef1786bc02959deeb89594f34a889810853531-1157x691.png)

## 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.

1. In the **Visibility** settings of the lesson or module, click **+ Add Rule**.
2. Select **Roles**.
3. Switch on the roles that can see the element. You can select multiple roles.

![Roles rule For the following participant roles, with Owner, Admin and Instructor switched on](https://cdn.sanity.io/images/l9t3o6uq/production/a9f6b5a119a3234c42b3f04937fc926074315f75-1167x577.png)

## Reveals at

Set a date and time when the element is revealed to learners.

1. In the **Visibility** settings of the lesson or module, click **+ Add Rule**.
2. Select **Reveals At**, then pick the date and set the time to reveal the element.

![Reveals At rule After the following date, with a date picker open on July 2024 and a time field](https://cdn.sanity.io/images/l9t3o6uq/production/a72c63b7694c03683d79c0b42f0f4cb728145d0e-804x484.png)

## Hides at

Set a date and time when the element is hidden from learners.

1. In the **Visibility** settings of the lesson or module, click **+ Add Rule**.
2. Select **Hides At**, then pick the date and set the time to hide the element.

> **Tip:** To control the visibility of a whole course instead of a single lesson, see [Set course visibility to public or private](https://support.teachfloor.com/articles/course-visibility-public-private).
