Tenant System
Tenant Types
Center Lifecycle
Provisioning
Center creation includes:- Create center record
- Set up default roles and permissions
- Configure vertical-specific settings
- Create admin membership
- Initialize audit log
Data Isolation
Every center’s data is isolated throughcenter_id scoping:
- 200+ tables filtered by
center_id - Prisma middleware enforces scoping automatically
basePrismafor cross-center operations (audited)
Partner Platform
Cronozen supports partner organizations managing multiple centers:Partner APIs
GET /api/partner/centers— List managed centersPOST /api/partner/centers— Create new centerGET /api/partner/stats/dashboard— Dashboard statisticsGET /api/partner/audit— Audit logGET /api/partner/members— Member management