Articles on: Administration

Super Admin Guide

Super Admin Guide


This guide covers how to access and use the super admin panel to manage resellers, tenants, and system-wide settings.


Accessing the Super Admin Panel


  1. Create a Super Admin Account:
   php artisan user:create-super-admin your-email@example.com "Your Name" "your-password"

Or set an existing user as super admin:

   php artisan user:set-super-admin your-email@example.com


  1. Log In:


Managing Resellers


Creating a Reseller


  1. Navigate to Resellers in the admin panel sidebar
  2. Click Create Reseller
  3. Fill in the required fields:
  • User: Select an existing user or create one first
  • Company Name: The reseller's company name
  • Slug: A unique identifier (URL-friendly)
  • Total Licenses: Number of licenses allocated
  • Is Active: Toggle to activate/deactivate the reseller
  1. Click Create


Managing Reseller Licenses


  • View License Usage: See total licenses, used licenses, and available licenses in the Resellers table
  • Update Licenses: Edit a reseller to increase their license count
  • Monitor Usage: Track how many tenants each reseller has created


Reseller Fields Explained


  • User ID: Links the reseller account to a user account (required)
  • Company Name: Display name for the reseller
  • Slug: Unique identifier used in URLs (must be unique)
  • License Count: Total number of licenses purchased/allocated
  • License Used: Number of licenses currently in use (auto-calculated)
  • Available Licenses: Licenses remaining (calculated: license_count - license_used)
  • Is Active: Whether the reseller account is active
  • Branding Config: JSON configuration for white-labeling (optional)


Managing Tenants


Viewing All Tenants


Navigate to Tenants in the admin panel to see:

  • All tenant accounts in the system
  • Which reseller created each tenant
  • Tenant status (active/inactive)
  • Subscription information
  • User counts


Creating Tenants


Tenants are typically created by resellers through their accounts. However, super admins can:

  1. Navigate to TenantsCreate Tenant
  2. Fill in tenant details:
  • Name
  • Subdomain
  • Reseller (if applicable)
  • Active status
  • Trial end date
  • Subscription end date
  1. Click Create


Impersonating Tenants


Super admins can impersonate tenants for support purposes:


  1. Go to Tenants in the admin panel
  2. Find the tenant you want to impersonate
  3. Click on the tenant to view details
  4. Use the impersonate feature (if available in your implementation)


Note: Impersonation allows you to see the tenant's view exactly as they see it, which is helpful for troubleshooting.


Managing Users


Viewing All Users


Navigate to Users in the admin panel to see:

  • All user accounts across all tenants
  • Super admin status
  • Current tenant
  • Associated tenants count
  • Reseller account status


Setting Super Admin Status


  1. Go to Users
  2. Find the user you want to promote
  3. Click Edit
  4. Check the Is Super Admin checkbox
  5. Save


Security Note: Only super admins can grant super admin status to other users.


Best Practices


Security


  • Limit Super Admin Accounts: Only grant super admin status to trusted administrators
  • Use Strong Passwords: Ensure all super admin accounts use strong, unique passwords
  • Monitor Activity: Regularly review tenant and reseller activity
  • Audit Logs: Keep track of administrative actions (implement logging if not already present)


License Management


  • Verify Before Allocating: Ensure resellers have purchased licenses before allocating them
  • Monitor Usage: Regularly check license usage to prevent over-allocation
  • Plan Ahead: Anticipate reseller license needs and ensure adequate allocation


Support Workflows


  • Use Impersonation: Use the impersonation feature to troubleshoot tenant issues
  • Document Actions: Keep notes on administrative actions for reference
  • Communicate Changes: Notify resellers and tenants when making significant changes


Troubleshooting


Can't Access Admin Panel


  • Verify your account has is_super_admin = true
  • Check that you're accessing /admin (not /login)
  • Ensure your session hasn't expired


Reseller Can't Create Tenants


  • Check reseller's license count vs. license used
  • Verify reseller account is active
  • Check that the user account is properly linked


Tenant Issues


  • Review tenant status (active/inactive)
  • Check subscription and trial dates
  • Verify tenant has necessary modules activated
  • Check for any error logs in the tenant's context


Additional Resources



Updated on: 13/03/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!