Complete administrator manual for managing CW Classrooms on Morse Trainer Pro
Understanding admin privileges and access control
Managing teachers and students
System-wide classroom monitoring
Advanced administrative features
Common issues and solutions
Recommended administrative workflows
đĄ Pro Tip: As an admin, you can test the complete user experience by accessing both teacher and student dashboards. This helps you understand the workflow from all perspectives when assisting users.
Navigate to your admin panel or database management interface to modify user permissions.
Users table contains these important flags:
is_admin - Administrator privilegesteacher_flag - Teacher capabilitiesstudent_flag - Student capabilitiesUsers can have multiple flags. Admins typically have all three flags enabled for full testing capabilities.
â ī¸ Important: Always ensure admins have both teacher_flag and student_flag set to 1 in addition to is_admin for full access to all classroom features.
đ Core Tables:
âââ đ¤ users (id, username, hash, salt, is_admin, teacher_flag, student_flag)
âââ đĢ classrooms (id, name, description, teacher_id, created_at)
âââ đ§ classroom_invitations (id, classroom_id, email, token, status, expires_at)
âââ đĨ classroom_students (id, classroom_id, student_id, enrolled_at)
âââ đ classroom_activities (id, classroom_id, student_id, activity_type, created_at)
đĄ Admin Insight: The system uses secure token-based invitations with expiration dates. Invitations automatically expire after 7 days for security.
We've implemented a modern toast notification system that replaces all popup alerts:
Features: Auto-close, manual close buttons, center-screen positioning, beautiful glassmorphism design
Solution:
is_admin=1, teacher_flag=1, student_flag=1Solution:
is_admin flag is set to 1 in databaseSolution:
.env file database credentialsUse these diagnostic pages:
Ensure your admin account has all necessary flags:
is_admin = 1, teacher_flag = 1, student_flag = 1
Before launching, test the complete user experience from all perspectives (admin, teacher, student).
Ensure email invitations are working properly for classroom enrollment.
đ¯ Pro Admin Tip: Regularly access the system as both teacher and student to experience what your users see. This helps you provide better support and identify potential improvements.
/cw-classroom-admin.html/cw-classroom-teacher.html/cw-classroom-student.html/api/session.phpusers - User accounts & permissionsclassrooms - Classroom informationclassroom_invitations - Pending invitesclassroom_students - Enrollments