Skip to content

๐Ÿ›  Admin / Director journey

Admin โ€” platform management

The [email protected] account sees the โš™ Admin tab (invisible for other roles).

  1. Upload a video: choose a file โ†’ POST /api/admin/videos โ†’ the worker picks up the session (processing) โ†’ chunks + AI pipeline (mock mode).
  2. Import a CSV (annotations): optionally linked to a session (recorded/scheduled) โ€” runs bronze โ†’ silver โ†’ gold + regenerates the LLM reports.
  3. Manage accounts: users, roles, parentโ€“child links (parent.test1 linked to S001+S002, parent.test2 โ†’ S003, parent.test3 โ†’ S004).
  4. Reference photos: upload per student for face identification.

Director โ€” full view without management

  • See all lessons and all tabs (Messages included), 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.