--- title: "Restrict access based on groupings" slug: "restrict-access-based-on-groupings" tags: ["Totara Learn", "How-to", "Content Creator"] updated: 2025-07-22T10:52:18Z published: 2025-07-22T11:18:39Z canonical: "totara.help/restrict-access-based-on-groupings" --- > ## 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 groupings If [groups](/19/docs/what-are-groups) and [groupings](/19/docs/create-groupings) have been set up in the course, it is possible to restrict access to an activity to learners who belong to a group within a specified grouping. 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. Select **Grouping**. 5. You can select whether the learner **must** or **must not** match the specified completion criteria. 6. Select the relevant **Grouping** from the dropdown menu. 7. Then select **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 grouping to restrict access.](https://cdn.document360.io/a007399b-031e-436b-999a-528240e16f58/Images/Documentation/image-1634289243448.png?sv=2026-02-06&spr=https&st=2026-11-06T06%3A31%3A35Z&se=2026-11-06T07%3A31%3A35Z&sr=c&sp=r&sig=zkYn%2Bcqlsq5UVhGZmzBLcNni0M1j6c7ioE%2FnsCr0KT8%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.