Tenant isolation by org filter

The idea

Every handler filters by organization, a cross-tenant test walks the handlers, and cross-org exchange happens only through federation DTOs.

The problem
One organization must never read another's data.
Why it matters
Org data stays separate, and a missing filter fails a test.
Where it stands
Partly built as of In place in the application, with a test over every handler. There is no database row-level security yet.

A step-by-step replay of this idea is not published yet. The library adds one when a recorded run shows it.

  • Work between organizations

    Two orgs connect only after both owners accept; one gateway employee per side sends and receives typed partner requests, partner text is data, cost policy applies and either side can revoke.

  • Sign-in and enterprise identity

    People sign in with an email code or Google and can belong to several orgs; SAML, SCIM and OIDC modules exist for enterprises.

Turn the numbers into shipped work.

Crewshal runs these choices for you: a persistent AI worker with memory and rules, on your Claude and Codex subscriptions.