Student administration view (studio-admin) #22
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A studio-admin area to browse students and drill into one student's history and upcoming activity. Read-only in this iteration.
Goal
Give the studio owner a single place to answer "who are my students and what's their activity?" without digging through individual lessons/enrolments.
Scope
manage_students): everyus_studentuser with name, email, registered date, and quick counts (upcoming lessons, active group enrolments). Each row links to the detail view.?student_id=):start_dt; show date/time, offering, instructor, status.Capability
manage_students(studio admin; administrators inherit via theuser_has_capfilter). No new caps or tables.Implementation sketch
Auth\StudentController(list + detail) +templates/admin/students.php,templates/admin/student-detail.php.get_users(['role' => us_student])/get_userdata;Booking\BookingRepository::findByStudent;Availability\AvailabilityRepository::findById(slot times to split upcoming/past);Offering\OfferingRepository::findById(titles);GroupClass\EnrollmentRepository::findByStudent.AdminMenu(a Students menu near Invites).Dependencies
Acceptance
composer test,cs, PHPStan level 6 green.Closing as complete. Implemented and merged in PR #24 (read-only studio-admin Students view).