Capabilities
The full list of billing capability keys — what a workspace has paid for or been granted — and which plans include them.
Capabilities answer "what has this workspace bought or been granted?", separate
from roles, which answer "who in this workspace may act?". They are resolved from
a workspace's active billing grants and checked alongside
permissions. Source:
packages/backend/convex/permissions/capabilities.ts.
For the concept and how to gate a feature, see Capabilities.
Capability keys
| Capability | Meaning |
|---|---|
feature.pro | Access to Pro-tier product features. |
workspace.members.invite | The workspace may invite additional members. |
workspace.members.limit.10 | Member cap of 10. |
workspace.members.limit.unlimited | No member cap. |
billing.portal | Access to the billing provider's customer portal. |
usage.ai.generate | Example metered/usage capability (seam for your own features). |
The member limit is derived from capabilities by
getMemberLimitFromCapabilities: unlimited wins, otherwise limit.10 caps at
10, otherwise there is no invite capability.
Which plans grant what
Capabilities are attached to plans in
packages/backend/convex/billing/plans.config.ts:
| Plan | Capabilities |
|---|---|
| Free | (none) |
| Pro (monthly / yearly / lifetime) | feature.pro, workspace.members.invite, workspace.members.limit.10, billing.portal |
See Billing Plans for the plan catalog.
Permissions
The full list of app permission keys, the Better Auth statement each requires, the capabilities it needs, and any resource policy it enforces.
Billing Plans
The built-in billing plan catalog — plan keys, intervals, capabilities, and the provider env vars that map real products to each plan.