d15ab78bd57aa77453eb3fc73f3af40f1af669d4
An account has people, and those people belong to several cloud instances. That requires dropping the global unique index on users.email for a compound (instance_id, email), scoping the two unscoped lookups that made the global index load-bearing, and projecting HQ users into instances as real control-plane users. Self-hosted instances are never projected into; their users stay local. Restructured into three phases: identity, creation and lifecycle, membership. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Description
No description provided
9.7 MiB
Languages
JavaScript
63.9%
Go
19.3%
TypeScript
16.6%