Skip to content

Work / Learning Platform / Wiki / Entities

roles

Entitycanonicalverified 2026-10-04

ROLE.SET

Summary

The three kinds of role: on the platform, in an organization, and in a course.

Canonical values

Key Value Last changed
ROLE.PLATFORM ADMIN · USER 2026-10-04
ROLE.ORG OWNER · STAFF 2026-10-04
ROLE.COURSE INSTRUCTOR · STUDENT · VIEWER 2026-10-04
ROLE.ORG-MANAGER platform ADMIN, or OWNER or STAFF of the active organization 2026-10-04
ROLE.CAN-MANAGE-COURSE an org manager, or an INSTRUCTOR enrolment on that course 2026-10-04
ROLE.MEMBER-ADD-DEFAULT STUDENT in a course · STAFF in an organization 2026-10-04

The roadmap text is behind the schema. FEAT-0008 task 6.1 lists four org roles (OWNER/ADMIN/INSTRUCTOR/STUDENT). The schema has two. Teaching and learning moved to the course role.

VIEWER is kept and unused. FEAT-0007 recommends dropping it; the members page still offers it.

Related

Sources

  • packages/db/prisma/schema.prisma
  • packages/ui/src/stores/auth.store.ts
  • apps/website/src/hooks/use-course-access.ts