Aller au contenu principal

Gestion des Locataires

Tenants are your customers — the businesses that use FeedbackPulse to collect feedback.


📋 Tenant List (/admin/tenants)

The tenant list shows all registered accounts with:

  • Company name and slug
  • Current plan
  • Status badge (Active, Trial, Suspended, Cancelled)
  • Registration date
  • Submission count

Filtering

Use the filter tabs to view:

  • All — every tenant
  • Active — tenants with paid subscriptions
  • Trial — tenants in free trial
  • Suspended — manually suspended tenants
  • Inactive — cancelled or expired

Searching

Use the search bar to find tenants by company name, email, or slug.


📄 Tenant Detail Page (/admin/tenants/{id})

Cliquez sur any tenant to see their full profile:

Account Information

  • Company name, slug, subdomain
  • Admin email
  • Registration date
  • Current status

Subscription Details

  • Current plan name and pricing
  • Payment gateway (Stripe/PayPal)
  • Subscription start date
  • Expiration date
  • Trial end date

Usage Statistics

  • Produits count (vs. plan limit)
  • Campagnes count (vs. plan limit)
  • Soumissions this month (vs. plan limit)
  • Membres de l'equipe (vs. plan limit)

Team Members

  • List of all users in the tenant account
  • Their roles (admin/staff)

⚙️ Tenant Actions

Suspend a Tenant

Temporarily blocks the tenant from accessing their dashboard. Their public pages are also disabled.

When to use: Non-payment, ToS violation, abuse.

Activate a Tenant

Restores access for a suspended tenant.

Delete a Tenant

Permanently removes the tenant and all their data (products, campaigns, submissions, membres de l'equipe). This uses soft delete — the data is marked as deleted but can be recovered from the database if needed.

⚠️ Avertissement : Deleting a tenant removes all their data. This cannot be undone from the panneau d'administration.

Impersonate a Tenant

See the platform from the tenant's perspective. Useful for debugging issues or providing support.

  1. Click Impersonate on the tenant detail page
  2. You're now logged in as the tenant's admin
  3. A banner appears at the top: "You are impersonating [Tenant]"
  4. Click Stop Impersonating to return to your superadmin session

🔒 Securite: Impersonation sessions auto-expire after 60 minutes. All actions during impersonation are logged in the audit trail.


🔄 Tenant Statuses

StatusDescriptionCan Access Tableau de Bord?Public Pages Active?
trialIn free periode d'essai✅ Yes✅ Yes
activePaid subscription active✅ Yes✅ Yes
suspendedManually suspended by admin❌ No❌ No
restrictedTrial expired, no paid plan⚠️ Limited⚠️ Limited
cancelledSubscription cancelled❌ No❌ No

⏭️ Etapes Suivantes