MuseMVP

MuseMVP Base: Next.js for Node and Cloudflare. MuseMVP Flare: an AI SaaS template that runs entirely on Cloudflare. Authentication, billing and administration included.

Product
  • Home
  • Pricing
  • Templates
Resources
  • Docs
  • Blog
  • Changelog
Legal
  • Privacy
  • Terms
  • Community
Open-Launch Top 1 Daily WinnerOpen-Launch Top 1 Daily WinnerVerified DR - Verified Domain Rating for musemvp.comVerified DR - Verified Domain Rating for musemvp.comMuseMVP - Featured on Startup FameMuseMVP - Featured on Startup FameFazier badgeFazier badgeLiftOff award badgeLiftOff award badge

© 2026 MuseMVP. All rights reserved.

MuseMVP
  • Pricing
  • Docs
  • Blog
  • Changelog
Buy MuseMVP Base
MuseMVP Docs
MuseMVP Docs
OverviewTech StackQuick Start
Project Structure
EmailObject Storage
User ManagementAPI Visualization
Internationalization
SEOAnalytics
Administration

User Management

Entry, permissions, available actions, and key implementation notes for the admin user management page.

The user management page is used to view and manage site users, including search, pagination, role management, and deletion.

API Architecture

Entry

Page route: /app/admin/users

Page Capabilities

  • User list (pagination + search, with billing contract info attached)
  • Create user
  • Edit user profile
  • Set password
  • Ban/unban (supports banReason and a banExpiresIn ban duration)
  • Session management (view active sessions, revoke one or all)
  • Impersonation (paired with a persistent ImpersonationBanner and one-click exit)
  • Assign/remove admin role
  • Delete user

Extension Tips

  • When adding new user dimensions (for example, source channel), update the query layer first, then columns and filters.
  • When adding new admin actions, prefer reusing src/modules/admin-users/hooks/use-user-actions.ts (which wraps the authClient.admin operations), and invalidate the user list query cache after success.
  • Action dialogs live in src/modules/admin-users/components/, including CreateUserDialog, EditUserDialog, BanUserDialog, SetPasswordDialog, and UserSessionsDialog; action entries are all mounted in UserActionsMenu.
  • The user list response attaches billing contract data to each user in src/backend/api/routes/admin/serialize-admin-users.ts; start there when extending list fields.
  • The persistent banner and exit button during impersonation are rendered by src/modules/layout/components/ImpersonationBanner.tsx.
  • Upgrade logic depends on product configuration. Before changes, check packages/config and src/config/saas/pricing-desc-usage.ts.

Turnstile Verification

Integrate Cloudflare Turnstile on auth UI and backend verification pipeline.

API Visualization

An admin-oriented API discovery solution based on OpenAPI aggregation and Scalar UI.

On this page

Page CapabilitiesExtension Tips

One payment. Tax included.

MuseMVP Base

Next.js for Node and for Cloudflare, with auth, payments and admin.

$69

Buy MuseMVP Base