Roles and security
Every person signs in as one of these roles. Staff roles share the office. Parents use a separate door.
| Role | What the role is for |
|---|---|
| Platform admin | The operator of this instance. Held with school administration on a self-hosted school. |
| School admin | School setup, staff records, and the first account created at /setup. Can reset a staff authenticator. |
| Registrar | Enrollment and the student record. |
| Teacher | Classes and the gradebook. |
| Staff | Office staff. Any staff member can update today’s attendance mark. |
| Parent | The Parent Portal for linked children. No authenticator. |
A person can hold more than one staff role. The demo seed, when you use it, creates a school admin who is also a platform admin, plus a registrar, a teacher, and parents.
Staff must enroll an authenticator
Section titled “Staff must enroll an authenticator”After a password, every staff role enrolls a TOTP authenticator (an app such as the one already on a phone). This is mandatory for:
- Platform admin
- School admin
- Registrar
- Teacher
- Staff
The authenticator secret is encrypted with AUTH_SECRET. There is no separate MFA key. Keep AUTH_SECRET stable. Rotating it without a plan invalidates secrets that were encrypted with the old value. See Configuration.
A school admin can reset an authenticator from the staff record when someone loses the device. The staff member enrolls again after the reset.
Parents
Section titled “Parents”Parents sign in with a password and are not asked for TOTP. Portal access still depends on the parent link and the portal flag described in Students and families.
Sessions for the web app and the API are Auth.js session cookies. See the API reference.
Next: Configuration.