Real Decision

Multi-tenancy Strategy

How to isolate customer data while running a single shared SaaS platform.

Problem

The platform needed to support multiple organizations on shared infrastructure while maintaining strict separation between customers, members, files, communication and analytics.

Decision

Implemented workspace-based tenancy where every domain entity is scoped by workspace_id. API access, permissions and business services resolve the active workspace before processing requests, which keeps tenant isolation explicit throughout the platform.

Why Not

Separate database per tenant.

Separate application deployment per customer.