๐ Admin / Director journey
Admin โ platform management
The [email protected] account sees the โ Admin tab (invisible for other
roles).
- Upload a video: choose a file โ
POST /api/admin/videosโ the worker picks up the session (processing) โ chunks + AI pipeline (mock mode). - Import a CSV (annotations): optionally linked to a session
(
recorded/scheduled) โ runsbronze โ silver โ gold+ regenerates the LLM reports. - Manage accounts: users, roles, parentโchild links (parent.test1 linked to S001+S002, parent.test2 โ S003, parent.test3 โ S004).
- Reference photos: upload per student for face identification.
Director โ full view without management
- See all lessons and all tabs (
Messagesincluded), like admin, but not the Admin tab (no users or pipeline). - Same journey as teacher except there is no teacher filter
(roleโ teacher โ no
WHERE teacher_id).
flowchart LR
subgraph admin[Admin]
A1["Full dashboard"] --> A2["โ Admin: upload / pipeline / users"]
end
subgraph director[Director]
D1["Full dashboard"] --> D2["without the Admin tab"]
end
What to test as admin
- [ ] Video upload โ status
processingโ blinking badge + progress bar (10 s refresh). - [ ] CSV import (with and without โlink to sessionโ) โ the session status
becomes
annotated. - [ ] User creation, role change, parentโstudent link โ the new parent sees
their child on
/parent. - [ ] The Admin tab does not appear for director/teacher.