Admin Panel

Clozup provides two levels of administration: organization admin for team management, and superadmin for platform-wide oversight.

Organization Admin

Organization admins manage their team from Settings → Organization. Available actions include:

  • Rename organization — Update your team display name
  • View seat usage — Monitor how many seats are in use vs. your plan limit
  • Invite team members — Send email invitations to add new users
  • Assign roles — Set team members as admin or member
  • Remove members — Revoke access for departing team members

Org Stats

The Organization page shows at-a-glance cards for your current plan, seat count, credit balance, and account creation date.

Superadmin Panel

Platform superadmins have access to a dedicated panel at Settings → Admin with cross-organization management capabilities.

Access Control

Superadmin access is granted via Clerk user metadata (publicMetadata.role = "superadmin"). This cannot be self-assigned.

Organization Management

The admin panel displays all organizations on the platform with:

  • Search & filter — Find organizations by name or slug
  • Plan overview — Current plan, seat count, credit balance per org
  • Quick actions — Change plan, grant credits, toggle unlimited access

Organization Detail Drawer

Click any organization to open its detail drawer with full management capabilities:

  • Change Plan — Override the organization's subscription plan (Free, Starter, Pro, Enterprise)
  • Grant Credits — Add bonus credits to the organization's pool
  • Toggle Unlimited — Enable or disable unlimited credit access (bypasses all usage limits)
  • View Members — List all users in the organization

Audit Logs

Every superadmin action is logged in the audit trail. The Audit Logs section shows:

  • Timestamp — When the action was performed
  • Actor — Which admin performed the action
  • Action typeplan_override, credits_adjust, toggle_unlimited
  • Target — Which organization was affected
  • Details — JSON payload with before/after values

Compliance

Audit logs are immutable and retained for the lifetime of the platform. They provide a complete trail for compliance and security reviews.

Platform Metrics

Superadmins can monitor platform-wide health:

  • Total organizations and users
  • Active subscriptions by plan
  • Platform-wide credit consumption
  • API usage and error rates