--- title: "Create nested restriction sets" slug: "create-nested-restriction-sets" tags: ["Totara Learn", "How-to", "Content Creator"] updated: 2025-07-22T10:52:18Z published: 2025-07-22T11:18:39Z canonical: "totara.help/create-nested-restriction-sets" --- > ## Documentation Index > Fetch the complete documentation index at: https://totara.help/llms.txt > Use this file to discover all available pages before exploring further. # Create nested restriction sets When [restricting access to an activity or resource](/19/docs/restricting-access-to-course-activities), simple restriction rules may not be sufficient for your requirements. Instead you can create a set of nested restrictions to apply complex logic to activity access. Follow these steps to create nested restrictions: 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 **Restriction set**. 5. You can select whether the learner **must** or **must not** match the specified completion criteria. 6. You can now see a restriction box which while contain your nested restrictions. Select **Add restriction...** within this box to choose the required condition type. 7. Enter the relevant details for the selected condition. 8. Select **Add restriction...** within the restriction box to add another condition. 9. Repeat until all required restrictions have been configured. 10. Finally, select **Save and display** or **Save and return to course** to confirm your selection. To cancel without saving, click the **X** delete icon. ![A nested set of restrictions using date, grade and user profile restrictions.](https://cdn.document360.io/a007399b-031e-436b-999a-528240e16f58/Images/Documentation/image-1634293617480.png?sv=2026-02-06&spr=https&st=2026-11-06T06%3A27%3A09Z&se=2026-11-06T07%3A27%3A09Z&sr=c&sp=r&sig=T9XdQJg30yVyv%2Fck7rG316ILRRg4X0CHvqCzaSlwEtE%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.