--- title: "Restrict access based on groups" slug: "restrict-access-based-on-groups" tags: ["Totara Learn", "How-to", "Content Creator"] updated: 2026-08-13T16:01:25Z published: 2026-08-13T16:01:25Z canonical: "totara.help/restrict-access-based-on-groups" --- > ## Documentation Index > Fetch the complete documentation index at: https://totara.help/llms.txt > Use this file to discover all available pages before exploring further. # Restrict access based on groups If you have [set up groups](/totara-20/docs/create-groups) in a course, it is possible to [restrict access](/totara-20/docs/restricting-access-to-course-activities) to an activity to members of a certain group or any group. To do this, follow these steps: 1. Navigate to the course and select **Turn editing on**. 2. Click **Edit** next to the activity for which you want to restrict access. 3. Expand the **Restrict access** section and click **Add restriction**. 4. You can select whether the learner **must** or **must not** match the specified completion criteria. 5. Select **Group**. 6. Select the relevant **Group** or **(Any group)** from the dropdown menu. 7. Then click **Save and display** or **Save and return to course** to confirm your selection. You can also click the **X** delete icon to cancel without saving. ![Selecting a group as a restrict access condition.](https://cdn.document360.io/a007399b-031e-436b-999a-528240e16f58/Images/Documentation/image-1634227394225.png?sv=2026-02-06&spr=https&st=2026-11-06T07%3A15%3A28Z&se=2026-11-06T08%3A15%3A28Z&sr=c&sp=r&sig=QqQxw3%2FqQ%2FGaU6cHrKRFrUCoQDpo36jjvs8GZ6p00rU%3D) Join the [Totara Community](https://totara.community/) for more resources to help you get the most out of Totara. © Copyright 2025 Totara Learning Solutions. All rights reserved. Some content originally obtained via [GPLv3 license](https://www.gnu.org/licenses/licenses.html#GPL) and continues to be available under GPLv3. All other content is the sole copyright of Totara Learning Solutions.