Skip to main content

Tenant Impersonation

Impersonation lets superadmins "log in as" any tenant to see the platform from their perspective. Invaluable for customer support and debugging.


๐Ÿ”ง How to Useโ€‹

  1. Go to Admin โ†’ Tenants โ†’ [select tenant]
  2. Click the Impersonate button
  3. You're now viewing the platform as that tenant's admin
  4. A yellow banner appears at the top: "You are impersonating [Tenant Name]"
  5. When done, click Stop Impersonating in the banner
  6. You return to your superadmin session

๐Ÿ” Security Featuresโ€‹

FeatureDescription
Auto-expiryImpersonation sessions expire after 60 minutes
Audit loggingAll impersonation start/stop events are logged
Session isolationYour superadmin session is preserved and restored
No privilege escalationImpersonation gives you the tenant's permissions, not superadmin inside tenant context
Force logoutYou can force-logout from impersonation if the session gets stuck

โš ๏ธ What You Can and Can't Doโ€‹

โœ… Can Do While Impersonatingโ€‹

  • View the tenant dashboard
  • See their products, campaigns, submissions
  • See their settings, team, billing page
  • View their public pages
  • Basically everything the tenant admin can see

โŒ Cannot Do While Impersonatingโ€‹

  • Access the superadmin panel (/admin/*)
  • Modify payment gateways
  • Impersonate another tenant (must stop first)

โญ๏ธ Next Stepsโ€‹