feat: self-serve tier — PR 4/12 — orgId Resolution: teams, connections, me routers
loading diff…
Stack order: Merge after PR 3 — orgs, audit, onboarding.
Applies the multi-tenant orgId guard to all teams, connections, and member tRPC routers (31 files).
create-team, delete-team, get-team, invite-member, list-members, list-operational-teams, list-teams, remove-member, resend-invite, revoke-invite, update-member-role, update-teamconnect-shared, get-health, list-team-connections, reconnectconnect-shared, get-health, initiate-connection, list-org-connections, reconnectdisconnect, initiateget-poc-reminder + test, get-profile, get-setup, list-connections, list-teams, shared, update-tool-preferenceSame mechanical orgId ternary transformation as PRs 2/3.
| # | PR | Link |
|---|---|---|
| 1 | Foundation | #458 |
| 2 | Core orgId Resolution | #459 |
| 3 | Routers: orgs, audit, onboarding | #460 |
| 4 | Routers: teams, connections, me | this PR |
| 5 | Routers: apps, auth-configs, misc | #462 |
| 6 | Self-Serve Signup Flow | #463 |
| 7 | Sign-In & Auth Broker | #464 |
| 8 | Trial UI | #465 |
| 9 | Enterprise Tier Gates | #466 |
| 10 | Trial Lifecycle | #467 |
| 11 | Proxy Trial Lock | #468 |
| 12 | Tests & Fixtures | #469 |