Files
outline/shared/types/plans.ts
T
Tom Moor bb47d65161 feat: Add collection owners
- Collections can have owners, who also own every document in the
  collection, shown first in document bylines
- Owner is a role in the collection share panel and invite picker for
  individual users, adding an owner gives them the manage permission
- Lowering an owner's permission or removing their access removes the
  ownership
- ownerIds on collections.create, collections.update and the MCP
  collection tools
- The document owner filter includes documents in owned collections
- Access requests go to document and collection owners together
- Collection owners are subscribed to the collection and notified when
  they are added
- Deleted users are removed from collection owners
- Renames the personal collection policy helper to
  isPersonalCollectionOwner
2026-11-02 20:44:11 -05:00

36 lines
1.2 KiB
TypeScript

/** The plans that a team can be on. */
export enum Plan {
Community = "community",
Standard = "standard",
Business = "business",
Enterprise = "enterprise",
/** A plan that is no longer sold, kept for existing teams. */
Legacy = "legacy",
}
/** Features that are potentially gated by entitlements. */
export enum PlanFeature {
/** Access to the workspace audit log. */
AuditLog = "auditLog",
/** Advanced security controls. */
AdvancedSecurity = "advancedSecurity",
/** Inviting guest users. */
Guests = "guests",
/** Synchronization of groups with an external IDP */
GroupSync = "groupSync",
/** Integrations that are not included in every plan. */
PremiumIntegrations = "premiumIntegrations",
/** Management of API keys across the workspace. */
ApiKeyManagement = "apiKeyManagement",
/** Content management tools. */
ContentManagement = "contentManagement",
/** AI generated answers. */
AIAnswers = "aiAnswers",
/** Serving the workspace from a custom domain. */
CustomDomain = "customDomain",
/** SAML authentication provider */
SAML = "saml",
/** Assigning owners to documents and collections. */
DocumentOwners = "documentOwners",
}