إنتقل إلى المحتوى الرئيسي

إدارة المستأجرين

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})

انقر على 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

  • المنتجات count (vs. plan limit)
  • الحملات count (vs. plan limit)
  • المشاركات this month (vs. plan limit)
  • أعضاء الفريق (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, أعضاء الفريق). This uses soft delete — the data is marked as deleted but can be recovered from the database if needed.

⚠️ تحذير: Deleting a tenant removes all their data. This cannot be undone from the لوحة الإدارة.

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

🔒 الأمان: Impersonation sessions auto-expire after 60 minutes. All actions during impersonation are logged in the audit trail.


🔄 Tenant Statuses

StatusDescriptionCan Access لوحة التحكم?Public Pages Active?
trialIn free فترة تجريبية✅ Yes✅ Yes
activePaid subscription active✅ Yes✅ Yes
suspendedManually suspended by admin❌ No❌ No
restrictedTrial expired, no paid plan⚠️ Limited⚠️ Limited
cancelledSubscription cancelled❌ No❌ No

⏭️ الخطوات التالية