Pular para o conteúdo principal

Personificacao de Inquilino

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. Va para 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

🔐 Seguranca Recursos

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 painel do inquilino
  • 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 superpainel de administracao (/admin/*)
  • Modify gateways de pagamento
  • Impersonate another tenant (must stop first)

⏭️ Proximos Passos