How would you test the permission model across student, teacher, and parent roles?
JuniorAssert each role sees only what it should — students their own work, teachers their classes, parents their own child — with the parent-of-minor scoping and minor-data visibility enforced at the API.
// What interviewers look for
That the role model serves pedagogy and child safety, with the parent-child relationship as a real scoping dimension — distinct from a commercial seat/tenant model.
Common pitfall
Treating it like generic RBAC and missing the parent dimension (a parent must see their child but no other child) and the minor-data sensitivity that shapes what each role can view.
Model answer
EdTech roles exist for pedagogy and child safety, so the scoping is relationship-based, not seat-based. I'd assert a student sees only their own assignments, grades, and submissions; a teacher sees only their assigned classes and the students within them; an admin's scope is the school/district; and — the dimension that's easy to miss — a parent sees only their own child's data and never another child's. I'd probe that parent scoping at the API: take a parent authenticated for child A and request child B's records by ID, asserting denial. I'd test edge relationships: a student in multiple classes, a teacher who is also a parent, shared-custody parents, and a student who moves classes mid-term. Minor-data sensitivity shapes visibility, so I check that even within a permitted scope, restricted fields are masked appropriately. The distinction from SaaS RBAC is that the unit of access is a child and the constraints come from child-safety law, not seat monetisation.