The admin panel
What each Admin screen does, who can open it, and the passkey step-up, audit log and read-only viewer role that keep admin changes safe.
Updated · 3 min read
The admin panel at /admin is where you run the business: users, organisations, subscriptions, pages, answers, analytics, the audience, experiments, affiliates and agent tools, in one place. Only accounts whose role is admin or viewer can open it. The server checks the role on every request; hiding the panel in the web app is not what protects it.
The screens
| Screen | What you do there |
|---|---|
| Overview | Counts of people, revenue and content, each linking to its screen, and the tests running or ready to call |
| Users | Search users, see their organisations and sessions, change roles, impersonate, ban, end sessions |
| Organisations | Search organisations and see each one's members and plan |
| Subscriptions | Read subscriptions as Stripe last reported them (read-only) |
| Pages | Create, edit, publish and delete site pages; install the site template |
| Site settings | Site name, summary, share image, Search Console tag, extra robots lines, redirects |
| Answers | Write and publish answers; manage authors and topics |
| Analytics | Traffic, bounces, events and the content report |
| Audience | Subscribers, enquiries and downloads |
| Experiments | The test dashboard, new tests and results |
| Affiliates | Applications, affiliates, groups, invites, commissions, statements and payouts |
| Docs | Your team's internal notes on the codebase |
| Agents | Agent tools: switch them on or off, read their calls, run one yourself |
| Audit | Every admin change, newest first |
⌥1 to ⌥9 switch to the first nine screens. Search, page and the selected row live in the address, so you can share a link to exactly what you're looking at. The menu at the top left also switches the theme.
The full-window page editor and variant editor open from Pages and Experiments. See Edit pages in place and A/B and bandit tests.
Admins and viewers
You make the first admin in the database; see Run it locally. After that, admins change anyone else's role to User, Viewer or Admin in Admin → Users. You can't change your own role, so the last admin can't lock everyone out.
A viewer sees everything an admin sees and can't change anything, their own account included. The top bar reads "Read-only". The page editor opens, but saving is refused. This suits a shared demo account: set DEMO_EMAIL and DEMO_PASSWORD on the server for an account whose role is viewer, and the sign-in page shows a "Sign in to the demo" button. Viewers' sessions and audit entries hide IP addresses and browsers.
Passkey step-up
Every admin change needs a passkey sign-in from the last 15 minutes, so a stolen password or session cookie can't make one. The first time an admin changes something, the app asks them to add a passkey and sign in with it, then sends the change again. Changes made together share one prompt.
Set ADMIN_PASSKEY_STEP_UP=off on the server only where admins can't use passkeys. Reading is never gated.
Impersonation, bans and sessions
From a user's panel in Admin → Users:
- Impersonate opens the app as that user for up to 60 minutes, after you give a reason. A banner shows who and the minutes left, with Stop impersonating. Admins and banned users can't be impersonated. While impersonating, the admin panel is closed, analytics stop, and you can't change how the person signs in, delete their account or an organisation, or touch billing and payouts.
- Ban with an optional reason, for 1, 7 or 30 days or until lifted. Banning ends their sessions, and their sign-in is refused with "This account is suspended."
- Sign out everywhere, or end one session.
None of these appear on your own account.
The audit log
Admin → Audit records every admin change after it succeeds: who made it, what they changed, the target, the details (a role change's before and after, a ban's reason and length, an impersonation's reason) and the IP address and browser. Every write made while impersonating is recorded under the admin's name, and so is every agent tool call that writes.
Secrets are removed from the details. The database refuses to edit or delete audit rows. Search matches the admin's email, the target and the action, and filters live in the address. From a user's panel, Changes to this user opens their history.
Shown to admins on the site
Signed in as an admin, every public page shows a toolbar with Edit page and a link to the full editor. Admins aren't counted in analytics or experiments, and they can preview any experiment variant from its address. See Analytics and the audience.
Something unclear or missing? Ask us and we'll answer, then fix the page.


