Appearance
Permission Matrix
Auto-generated from
src/routes/index.tsxbyscripts/generate-docs.mjs. Do not edit manually -- re-run the generator to update.
This matrix shows which roles can access each role-protected route. Routes without a RoleGuard are accessible to all authenticated users and are not listed here.
| Route | user | student | parent | teacher | school admin | head school admin | vendor | staff | platform admin |
|---|---|---|---|---|---|---|---|---|---|
/parent | -- | -- | Y | -- | -- | -- | -- | -- | -- |
/vendor | -- | -- | -- | -- | -- | -- | Y | -- | -- |
/school | -- | -- | -- | Y | Y | Y | -- | -- | -- |
/school/roster | -- | -- | -- | -- | Y | Y | -- | -- | -- |
/school/classes | -- | -- | -- | -- | Y | Y | -- | -- | -- |
/school/grades | -- | -- | -- | Y | Y | Y | -- | -- | -- |
/school/teachers | -- | -- | -- | -- | Y | Y | -- | -- | -- |
/school/assignments | -- | -- | -- | Y | Y | Y | -- | -- | -- |
/school/classes/:classId/progress | -- | -- | -- | Y | Y | Y | -- | -- | -- |
/school/reviews | -- | -- | -- | Y | Y | Y | -- | -- | -- |
/school/surveys | -- | -- | -- | -- | Y | Y | -- | -- | -- |
/school/reflection-analytics | -- | -- | -- | Y | Y | Y | -- | -- | -- |
/school/purchase-requests | -- | -- | -- | -- | Y | Y | -- | -- | -- |
/school/bulk-gift | -- | -- | -- | -- | Y | Y | -- | -- | -- |
/school/alumni-transition | -- | -- | -- | -- | Y | Y | -- | -- | -- |
/school/my-assignments | -- | Y | -- | -- | -- | -- | -- | -- | -- |
/school/my-grades | -- | Y | -- | -- | -- | -- | -- | -- | -- |
/school/child-grades | -- | -- | Y | -- | -- | -- | -- | -- | -- |
/vendor/challenges | -- | -- | -- | -- | -- | -- | Y | -- | -- |
/vendor/challenges/create | -- | -- | -- | -- | -- | -- | Y | -- | -- |
/vendor/orders | -- | -- | -- | -- | -- | -- | Y | -- | -- |
/vendor/analytics | -- | -- | -- | -- | -- | -- | Y | -- | -- |
/vendor/events | -- | -- | -- | -- | -- | -- | Y | -- | -- |
/vendor/settings | -- | -- | -- | -- | -- | -- | Y | -- | -- |
/admin/vendors | -- | -- | -- | -- | -- | -- | -- | Y | Y |
/admin/users | -- | -- | -- | -- | -- | -- | -- | -- | Y |
/admin/coupons | -- | -- | -- | -- | -- | -- | -- | -- | Y |
/admin/challenges | -- | -- | -- | -- | -- | -- | -- | -- | Y |
/admin/challenge-series | -- | -- | -- | -- | -- | -- | -- | -- | Y |
/admin/reviews | -- | -- | -- | -- | -- | -- | -- | Y | Y |
/admin/orders | -- | -- | -- | -- | -- | -- | -- | -- | Y |
/admin/verification | -- | -- | -- | -- | -- | -- | -- | Y | Y |
/admin/schools | -- | -- | -- | -- | -- | -- | -- | -- | Y |
/admin/settings | -- | -- | -- | -- | -- | -- | -- | -- | Y |
/admin/analytics | -- | -- | -- | -- | -- | -- | -- | -- | Y |
/admin/users/:userId | -- | -- | -- | -- | -- | -- | -- | -- | Y |
/admin/audit-log | -- | -- | -- | -- | -- | -- | -- | -- | Y |
/admin/flagged-content | -- | -- | -- | -- | -- | -- | -- | Y | Y |
/admin/roles | -- | -- | -- | -- | -- | -- | -- | -- | Y |
/admin/reflection-analytics | -- | -- | -- | -- | -- | -- | -- | -- | Y |
/admin/challenge-queue | -- | -- | -- | -- | -- | -- | -- | Y | Y |
/admin/featured-content | -- | -- | -- | -- | -- | -- | -- | -- | Y |
/admin/school-health | -- | -- | -- | -- | -- | -- | -- | -- | Y |
/admin/product-analytics | -- | -- | -- | -- | -- | -- | -- | -- | Y |
/admin/content-analytics | -- | -- | -- | -- | -- | -- | -- | -- | Y |
/admin/engineering-analytics | -- | -- | -- | -- | -- | -- | -- | -- | Y |
/admin/report-builder | -- | -- | -- | -- | -- | -- | -- | -- | Y |
/admin/theme-editor | -- | -- | -- | -- | -- | -- | -- | -- | Y |
/admin/component-showcase | -- | -- | -- | -- | -- | -- | -- | -- | Y |
/admin/feature-flags | -- | -- | -- | -- | -- | -- | -- | -- | Y |
Legend
- Y -- Role has access to this route
- -- -- Role cannot access this route
Role Descriptions
| Role | Description | Role Guide |
|---|---|---|
| user | General authenticated user (default role) | General User |
| student | Student account (Tier 1 school-only or Tier 2 parent-linked) | Student |
| parent | Parent account linked to student(s) | Parent |
| teacher | Teacher within a school | Teacher |
| school_admin | School administrator | School Admin |
| head_school_admin | Head school administrator (highest school authority) | School Admin |
| vendor | Activity provider / vendor | Vendor |
| staff | Platform staff (limited admin capabilities) | Platform Admin |
| platform_admin | Full platform administrator | Platform Admin |