Files
rootnode-academy/docs/RUNBOOK_STUDENT_ACCOUNT_LIFECYCLE.md
T
ced4568 896c230142
Release to Docker Hub / Build & Push Docker Image (push) Canceled after 0s
Release to Docker Hub / Create GitHub Release (push) Canceled after 0s
docs(phase5a): student identity and remote classroom documentation
- PHASE5A_STUDENT_IDENTITY_REMOTE_CLASSROOM.md: the full design doc.
- RUNBOOK_STUDENT_ACCOUNT_LIFECYCLE.md, RUNBOOK_REMOTE_CLASSROOM.md: operational runbooks.
- REMOTE_AND_SELF_PACED_ARCHITECTURE.md: closes the 'no real student authentication' gap this
  doc previously flagged as the one item blocking self-paced delivery.
- ENGINEERING_SOP.md §5 rewritten (was describing a pre-Phase-2A state no longer true of any
  deployed version of this codebase) plus a new §14; roadmap item 3 updated.
- LAB_ARCHITECTURE.md, PRODUCTION_VALIDATION_CHECKLIST.md, README.md, platform/README.md:
  cross-references and a Phase 5A production-validation section.
2026-08-25 01:20:13 -05:00

2.5 KiB

Runbook: Student Account Lifecycle

Covers creating, converting, resetting, and revoking student accounts. See docs/PHASE5A_STUDENT_IDENTITY_REMOTE_CLASSROOM.md for the underlying design.

Create a new credentialed student (/admin → Students → Add student):

Fill in display name plus either email (older/self-paced) or login ID (younger/instructor- managed) — leave both blank for a plain pilot account instead. Submitting shows an activation link once: https://<domain>/?activate=<token>. Copy it immediately (print it, read it aloud, hand it over) — it is never shown again and never stored in plaintext anywhere. The student opens the link and sets their own password; the instructor never sees it.

Convert an existing pilot student to a real account (Students → [student] → Convert):

Same as creation, but for a student who already exists with progress/attempts/achievements — none of that is touched. Give an email or login ID, get a one-time activation link the same way.

Bulk import via CSV (Students → Bulk import):

Columns: display_name, email, login_identifier, cohort_id (only display_name is required per row). The whole file is validated before anything is written — one bad row rejects the entire file with a list of row errors, rather than importing some rows and skipping others. Never include a password column; it will always be rejected if present. Activation links for every created row are shown once after a successful import.

Reset a student's password (Students → [student] → Reset password):

Only for already-credentialed accounts. Issues a fresh reset link (?reset=<token>, valid 1 hour) and immediately revokes every existing session for that student — the instructor still never sees or sets the actual password.

Revoke a student's sessions (Students → [student] → Revoke all sessions):

Immediately invalidates every active login for that student without touching their password. Use this if a device is lost/shared or a session looks compromised.

Deactivate a student (Students → [student] → PATCH status: inactive, via the existing students list — deactivation takes effect on their very next request, not just their next login, because studentSession middleware re-checks status='active' every time.

If a student says their activation/reset link "doesn't work": tokens are single-use and time-limited (activation 7 days, reset 1 hour). Just issue a new one via Convert or Reset password — there's no way to "resend" the same token, and that's intentional.