Leave Localhost logoLeave LocalhostDocs
Reference

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

CapabilityMeaning
feature.proAccess to Pro-tier product features.
workspace.members.inviteThe workspace may invite additional members.
workspace.members.limit.10Member cap of 10.
workspace.members.limit.unlimitedNo member cap.
billing.portalAccess to the billing provider's customer portal.
usage.ai.generateExample 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:

PlanCapabilities
Free(none)
Pro (monthly / yearly / lifetime)feature.pro, workspace.members.invite, workspace.members.limit.10, billing.portal

See Billing Plans for the plan catalog.

On this page