What problem does it solve?
This Skill simplifies the creation and management of multi-tenant applications by providing robust tools for handling organizations, user roles, and access control within a B2B SaaS context.
Core Features & Use Cases
- Multi-tenancy: Enables building applications where users belong to distinct organizations.
- Role-Based Access Control (RBAC): Implement granular permissions for users within an organization.
- Organization Switching: Allows users to easily switch between different organizations they belong to.
- Verified Domains & SSO: Securely manage enterprise clients with domain verification and single sign-on.
- Use Case: A project management tool can use this Skill to allow teams (organizations) to collaborate, with different members having distinct roles (e.g., admin, editor, viewer) within their team's workspace.
Quick Start
Use the clerk-orgs skill to protect a route and check if the current user has the 'org:admin' role.