Intry

Feature flags

Entitlements and staged rollouts for portal capabilities.

Overview

Feature delivery combines:

  1. Tenant entitlements — JSON on Tenant.entitlements (module toggles).
  2. Plan tierTenant.planTier / Clerk org publicMetadata.plan_tier (Core, Standard, Pro).
  3. Application flags — environment variables consumed by Next.js.

Runbook: docs/TENANT_ENTITLEMENTS.md.

Entitlements JSON

null entitlements means all modules on for backward compatibility. When present, keys gate UI routes:

KeyModule
guestPassesGuest pass creation (Standard+)
deliveryScanDelivery scan features
rolodexContact rolodex
notificationTemplatesCustom notification templates
documentsDocument portal
maintenanceMaintenance requests

Plan tier gates

Standard and Pro tiers unlock additional modules per Billing architecture. Evaluate tier server-side when the decision affects security.

Testing

Maintain a staging tenant with constrained entitlements to validate degraded experiences before customer launches.


Last verified: 2026-06-21 (commit 293c4a7)

On this page