Clerk starter module
Organizations and roles
Keeps memberships, roles, and app permissions aligned with Clerk organization data.
- Files
- 2
- Lines
- 57
- Languages
- TypeScript
Included files
This page lists paths and purposes, not source contents.
FilePurposeLanguageLines
src/subscriptions/account-status.ts
Keeps account suspension state in sync between Clerk and your app.
TypeScript
27 lines
src/subscriptions/roles.ts
Assigns an allowed app role through Clerk publicMetadata and records the change.
TypeScript
30 lines
Questions about organizations and roles
Does it include Clerk organizations and roles?
Yes. It covers organization membership, role checks, and the server-side rules that keep team data available only to the right people.