Overview
Learn which admin pages and organization management controls ship with the kit.
The admin area is available only to users whose platform role is admin. The
current kit ships three admin pages:
/dashboard/admin/users/dashboard/admin/organizations/dashboard/admin/app-config
Subscription and credit controls are part of the Organizations page. There is
no standalone /dashboard/admin/subscriptions or
/dashboard/admin/credits page.
Users
Organizations
Subscription controls
Credit controls
App Config
Access the Admin Area
- Assign the
adminplatform role to a user. See Admin UI. - Sign in with that account.
- Open the Admin entry from the organization switcher. It links to
/dashboard/admin/users.
app/(saas)/dashboard/(sidebar)/admin/layout.tsx checks the server session. A
non-admin user is redirected to /dashboard.
Shipped Features
Users
The Users page provides the account management actions documented in the Users guide.
Organizations
The Organizations page includes:
- Search, pagination and filters
- Subscription and credit balance summaries
- CSV and Excel exports
- Stripe synchronization for selected organizations
- Credit adjustments for one organization
- Subscription cancellation at period end
- Organization deletion
See the Organizations guide for the exact fields and procedures.
App Config
The App Config page displays values from the app, authentication, billing and storage configuration files. It is read-only. Change configuration in the corresponding files and redeploy the application.
Admin tRPC Routers
The admin router registers only these namespaces:
export const adminRouter = createTRPCRouter({
organization: adminOrganizationRouter,
user: adminUserRouter
});Admin billing actions therefore use trpc.admin.organization. The kit does not
register trpc.admin.subscription or trpc.admin.credit.
Next Steps
- Users - Manage accounts
- Organizations - Manage organizations and billing summaries
- Subscriptions - Use the shipped subscription controls
- Credits - Use the shipped credit controls
- App Config - Inspect runtime configuration