--- title: "Restrict Access Based on CRN" slug: "restrict-access-based-on-crn-1" tags: ["Faculty", "Moodle", "Settings", "Grouping", "Restrict Access"] updated: 2025-08-13T12:11:49Z published: 2025-08-13T12:11:49Z canonical: "it.ajman.ac.ae/restrict-access-based-on-crn-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://it.ajman.ac.ae/llms.txt > Use this file to discover all available pages before exploring further. # Restrict Access Based on CRN Restrict Access is a feature that allows students enrolled in specific section(s) or CRN(s) to view and access an activity or resource (such as a file, assignment, Turnitin assignment, or quiz) in a Moodle course. ## Restricting access to an activity or resource while uploading or creating it While uploading the activity or resource, go to the **Restrict access** section in the options and follow these steps: 1. Click the **Add Restriction** button. ![](https://cdn.document360.io/7a3c00d9-daf1-4451-a1a0-1e6ab8f34fa6/Images/Documentation/image-1755083456598.png) 2. Choose **Grouping** from the list to give access based on CRN.![](https://cdn.document360.io/7a3c00d9-daf1-4451-a1a0-1e6ab8f34fa6/Images/Documentation/image-1755083862086.png) 3. Select a grouping or CRN that should have access to this part of the course. ![](https://cdn.document360.io/7a3c00d9-daf1-4451-a1a0-1e6ab8f34fa6/Images/Documentation/image-1755084093326.png) 4. To add multiple sections, click **Add restriction** again (as shown below). Otherwise, skip to step 8 in this section. ![](https://cdn.document360.io/7a3c00d9-daf1-4451-a1a0-1e6ab8f34fa6/Images/Documentation/Add%20restriction%20button.jpg) 5. Select **Grouping** again. ![](https://cdn.document360.io/7a3c00d9-daf1-4451-a1a0-1e6ab8f34fa6/Images/Documentation/image-1755083862086.png) 6. Select another grouping or CRN that should have access to this part of the course. ![](https://cdn.document360.io/7a3c00d9-daf1-4451-a1a0-1e6ab8f34fa6/Images/Documentation/choose%20another%20crn.jpg) 7. Change the matching settings to **Any.![](https://cdn.document360.io/7a3c00d9-daf1-4451-a1a0-1e6ab8f34fa6/Images/Documentation/select%20any.jpg)****What is the difference between “All” and “Any” in the matching option?** - **All**: The student must be registered in all listed sections/CRNs to view this part. Choosing this option will effectively restrict access for all students, since no student is registered in more than one section/CRN for the same subject. - **Any**: The student must be registered in at least one of the listed sections/CRNs to view this part. ![](https://cdn.document360.io/7a3c00d9-daf1-4451-a1a0-1e6ab8f34fa6/Images/Documentation/any%202.jpg) 8. Once all groupings have been added, click the **Save changes** button. ## Restricting access to existing activity/resource To restrict access to an activity or resource after it has been added to the Moodle course, follow these steps: 1. Inside the course, enable editing by clicking the "**Edit mode**" toggle switch, as illustrated below:![](https://cdn.document360.io/7a3c00d9-daf1-4451-a1a0-1e6ab8f34fa6/Images/Documentation/image-1755084313109.png) 2. Navigate to the activity or resource you want to restrict, **click** the ellipsis **(⋮) icon**, and then click **Edit settings**. ![](https://cdn.document360.io/7a3c00d9-daf1-4451-a1a0-1e6ab8f34fa6/Images/Documentation/image-1755084563025.png) 3. Follow the steps outlined in the previous section. ## Restricting access to a section/topic To restrict access to a section or topic for a specific group of students (for example, a particular CRN) in a Moodle course, follow these steps: 1. Inside the course, enable editing by clicking the "**Edit mode**" toggle switch, as illustrated below:![](https://cdn.document360.io/7a3c00d9-daf1-4451-a1a0-1e6ab8f34fa6/Images/Documentation/image-1755084313109.png) 2. Navigate to the topic or section you want to restrict, click the ellipsis **(⋮) icon**, and then click **Edit settings**. ![](https://cdn.document360.io/7a3c00d9-daf1-4451-a1a0-1e6ab8f34fa6/Images/Documentation/image-1724579231718.png) 3. Follow the steps outlined in the first section. ## Related - [Create a Turnitin Assignment](/create-a-turnitin-assignment.md)