feat: self-serve tier — PR 5/12 — orgId Resolution: apps, auth-configs, remaining routers
loading diff…
Stack order: Merge after PR 4 — teams, connections, me.
Applies the multi-tenant orgId guard to the remaining tRPC routers (13 files). After this PR, all 54 admin routers are multi-tenant safe.
list-apps, toggle-enableddelete-auth-config, get-shared-credentials, list-auth-configs, set-auth-config, update-shared-credentialsget-profile, update-notification-prefslist-notifications, mark-readget-org-stats, get-team-statsSame mechanical orgId ternary transformation as PRs 2/3/4. This completes the router-level multi-tenant isolation.
| # | PR | Link |
|---|---|---|
| 1 | Foundation | #458 |
| 2 | Core orgId Resolution | #459 |
| 3 | Routers: orgs, audit, onboarding | #460 |
| 4 | Routers: teams, connections, me | #461 |
| 5 | Routers: apps, auth-configs, misc | this PR |
| 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 |