Use Cases
The following use cases demonstrate how Entitlement Sets and license-level feature entitlements in Cryptlex can be used to define product behavior, manage license tiers, and enforce custom limits.
1. Product Tiering
Organizations often offer multiple editions of their product, such as Standard, Pro, and Enterprise, with different capabilities. Entitlement Sets help group relevant feature entitlements into reusable tiers.
For Example:
Standard
basic_export
Pro
basic_export, analytics_dashboard
Enterprise
basic_export, analytics_dashboard, priority_support, team_sharing
Licenses are linked to the relevant Entitlement Set, and the application logic checks which features are enabled to control access.
2. Usage Limits with Feature Values
Feature values can be used to define usage limits, such as the number of projects, users, or API calls.
Example:
Feature:
max_team_membersValue:
5,20, orunlimitedUsage: The application reads the value at runtime and enforces the limit accordingly.
This approach enables dynamic limits without requiring new builds or manual configuration.
3. Controlled Feature Rollouts (Beta Access)
Entitlements can be used to enable or disable features for a specific group of users, such as beta testers.
Example:
Features:
beta_dark_mode,ai_autocompleteAdded only to selected licenses
Application checks for feature presence before enabling UI or functionality
This allows safe, controlled rollouts without the need for separate builds.
4. Feature Trials
Expiry dates on license-level feature entitlements can be used to grant temporary access to specific features without affecting the rest of the license. This is useful for offering feature trials, promotional unlocks, or time-limited access to any premium functionality within your app.
Example:
Feature:
advanced_reportingExpiry date:
stringUsage: The expiry information is exposed through the SDK via the
GetFeatureEntitlement()andGetFeatureEntitlements()functions and must be evaluated and enforced by the application itself.
This approach allows targeted, time bound feature access without creating separate license types or entitlement sets and without requiring license reissuance.
Last updated