Tenant isolation
Every tenant record carries a tenant ID and is protected by database-enforced row-level security under a restricted runtime role. The tenant comes from your authenticated membership, never from a browser-supplied ID or hostname alone. Composite foreign keys stop a record referencing another tenant's parent.
