Module & Feature Management
Granular control over specific capabilities enabled for each tenant.
UC-CORE-005: Feature Flags & Licensing
Purpose: Upsell features and manage rollout risks.
| Property | Value |
|---|---|
| Actor | System Admin / Sales |
| Trigger | Plan Upgrade |
| Priority | P0 |
Capabilities Breakdown:
1. Feature Flagging (UC 20.1 - 20.5)
-
Global Toggles: Enable/Disable "WhatsApp Bot" for ALL tenants (Emergency Killswitch).
-
Tenant Toggles: Enable "inventory-module" only for "Premium" tier.
-
Percentage Rollout: Enable "New Dashboard" for 10% of users.
2. Vertical Packages (UC 20.6)
-
Salon Bundle: [Appointments, Staff, CRM].
-
Med-Spa Bundle: [Salon Bundle] + [HIPAA Forms, Prescriptions].
-
Enterprise Bundle: [All Modules] + [SSO, Audit Logs].
3. Usage & Limits (UC 20.7)
-
Soft Limits: Warn when "5000 Monthly Messages" limit is Near (80%).
-
Hard Limits: Block out-going messages when limit reached.
-
Quota Management: "Add 1000 credits" top-up action.
Main Success Scenario:
- Tenant "Glow Spa" upgrades to "Growth Plan".
- System auto-enables
marketing-automationandinventory. - Feature flags update redis cache immediately.
- Tenant sees new "Inventory" tab upon refresh.
Acceptance Criteria:
- [ ] Feature visibility updates in real-time (WebSocket or < 1 min poll).
- [ ] Quota block works instantaneously to prevent overage.
- [ ] "Killswitch" disables feature globally within 30 seconds.
Related Use Cases
-
Tenant Management: The entity owning the features.
-
Billing & Payments: Payment triggers feature enablement.