Membership for Tenants
A Tenant may have an active membership plan. This membership plan has different capabilities, these capabilities are of two types:
- Permission
- Limit
Permission type capabilities
Suppose the Pro plan has the PERMISSION type ability to access a certain module. In the code, we can check this as follows:
Server Side
const canAccessToSupportModule = await checkOrganizationCapability(
  organization?.id,
  "Support via ticket"
);