Add Platform Administration settings — org plan grants, events, plan catalog

Featurekamo-internal
Shipped
April 20, 2026 at 7:43 PM UTC
Author
kamo
Commit
64e0ea6

- New pages under /settings/platform (guarded by hasPlatformAdminAccess): - /organizations — list every org, grant/modify/revoke COMP plans with reasons - /events — audit feed of **************** - /plans — read-only catalog including internal (isPublic=false) plans - useUserInfo: derives hasPlatformAdminAccess from isGodModeActive() OR (teamMember.isOrganizationOwner AND organization.isTopLevel) - billingApi: platform namespace (listOrgs, grantPlan, modifyGrant, revokeGrant, listPlans, listEvents) + X-God-Mode-Active header when localStorage flag set - /api/billing proxy: forwards X-God-Mode-Active from client to BillingService - Settings hub + SettingsStatusWindow: new "Platform Administration" group - BillingManager: platform-owner banner replaces Stripe form for top-level org (wired into /settings/account as the billing tab) - FeaturesManager: "Platform Owner — Internal" header and suppressed upgrade CTAs when org is top-level and current sub is COMP - Organization class / OrgNetwork / PublicProvider: add isTopLevel; remove dead `type` field and the leftover consumers in network page + relationship manager - Remove deprecated OrganizationType.ts

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing