The safest Moodle setup is wonderfully specific: Priya can teach Physics 101 without gaining special powers in Chemistry, the site dashboard, or user administration. That happens because Moodle roles are assigned in a context. For an ordinary instructor, the context should be the course—not the entire site.
Teacher and Non-editing teacher are not interchangeable
Teacher: can normally add and change activities, manage course content, grade learners, and perform other editing tasks.
Non-editing teacher: can normally teach and grade but cannot alter the course structure or activities.
Manager: has broader administration capabilities and is rarely appropriate merely to teach one course.
Course creator: controls course creation and does not automatically mean the person should teach every course.
Before enrolment: check the account and course
The teacher must already have a Moodle user account unless your authentication flow creates it on first login.
The course must exist, and the administrator or manager must have permission to enrol users and assign the selected role.
Manual enrolments must be available and enabled for the course if you are using the Participants enrolment dialog.
Confirm the account is active and identify it by a reliable field such as institutional email or username, not name alone.
Enrol the teacher from the Participants page
Open the target course and select Participants from its navigation.
Choose Enrol users.
Search for and select the correct account. Check the username or email when names are similar.
Open Assign role and choose Teacher or Non-editing teacher.
Review enrolment start, duration, and status if those controls are shown.
Select Enrol users to save the course enrolment.
What Moodle creates at this point
The manual enrolment grants membership in this course.
The selected role supplies capabilities in the course context.
The account can hold more than one role, so inspect all role badges when access looks unexpectedly broad.
An end date or suspended status can make a correct-looking role ineffective.
Verify access instead of trusting the confirmation
Return to Participants and search for the account.
Confirm the intended role appears and the enrolment status is active.
Use the course permission-checking screen when one capability is still missing.
For important deployments, sign in with a dedicated test account carrying the same role and exercise the real teaching workflow.
Ask the teacher to open the course and confirm the expected editing or grading controls.
Why “Switch role to” is only a preview
Switch role to is useful for a quick course-level view, but Moodle documentation recommends a test user for dependable permission testing. The preview does not reproduce every account, authentication, enrolment, or out-of-context permission condition.
Change the role of someone already enrolled
Do not create a duplicate enrolment. On Participants, find the user, edit the Roles column, add Teacher or Non-editing teacher, remove an obsolete Student role if policy requires it, and save. Moodle can legitimately combine roles; the effective permissions come from the full context and override chain.
Be careful when removing roles
Changing a role is different from unenrolling the account.
Unenrolment may affect course membership, grades, group membership, and activity access.
Removing Student is not always necessary because Teacher usually supplies the needed course access.
Check institutional policy before changing enrolments in an active course.
Bulk-assign teachers with user upload
username,course1,role1
priya,physics101,editingteacherA minimal pattern for an existing user and existing course; use the real username and course short name.
Every CSV field has a precise meaning
usernamemust match the existing Moodle account.course1uses the course short name, not the displayed full name.role1uses the role short name; the standard editing Teacher role is commonlyeditingteacher.Preview and validate the upload before committing a large cohort, because a typo can assign the wrong course or role.
If Enrol users or Teacher is missing
No Enrol users button: the current account lacks enrolment capability, or manual enrolment is disabled for that course.
Teacher absent from Assign role: the current role is not allowed to assign Teacher, or Teacher is not assignable in the course context.
User not found: the account may not exist, may be suspended, or the search term may not match visible identity fields.
Teacher cannot edit: Non-editing teacher was selected, course editing is off, or a capability override changes the default.
Teacher cannot see the course: inspect enrolment status and dates, course visibility, and role assignment.
Access is too broad: look for category- or system-level assignments and inherited roles outside this course.
Category-wide teaching is an architectural choice
A category role can grant access across every course in that category. That can be useful for a trusted department lead, but it is not a shortcut for enrolling one instructor. Use a separately reviewed role and document why category context is required.
Remove or suspend access cleanly
Suspend the enrolment when access should stop temporarily while records remain intact.
Remove the teaching role when the person should remain a participant in another capacity.
Unenrol only when course membership itself should end and the data-retention consequences are understood.
Review teaching assignments at term boundaries and remove expired privileges promptly.
Primary Moodle references
Moodle Teacher role explains course-scoped Teacher and Non-editing teacher assignments.
Creating custom roles covers role archetypes and recommends test accounts for validation.
Upload users documents course and role fields for bulk enrolment.
Comments and corrections