Skip to main content

Multi-Tenant Architecture

Tenant Isolation Model

Cronozen uses row-level tenant isolation with Prisma scoped models. Every data query is automatically filtered by center_id.

Actor-Workspace Separation

Membership-Based Access

There is no direct center access. All access flows through memberships:
The getActor center_id fallback has been removed. All center access must go through center_memberships. This was verified with zero affected rows in staging and production.

Scoped vs Base Prisma

Center Scope Helpers

Tenant Types