Advanced Topic: Administration
Admin Role Switching
As the super-admin, you might need to promote a student to a teacher, or grant staff privileges to an existing user.
The `updateStudentRole` Controller Method
- Navigate to Admin > Students.
- Locate the user you wish to modify.
- Under actions, select "Change Role".
This triggers a POST request to `/admin/update/student/role`. The system safely migrates their access tier. For example, upgrading a `student` to `teacher` instantly grants them access to the `/teachers-dashboard` and LMS course creation tools, while revoking their standard student portal layout.