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

  1. Navigate to Admin > Students.
  2. Locate the user you wish to modify.
  3. 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.