#15279·activepieces

[BUG] AI Center goes silently read-only when the plan lacks aiProvidersEnabled

Author: majewskibartoszCreated Sep 4, 2026Updated Sep 29, 2026
Labels🐛 bug🤖 area/ai🛟 support💫 priority

Problem

A platform admin on a plan with aiProvidersEnabled: false (e.g. cloud free) still sees the full AI Center providers list with existing keys, but with no "Add key" button, unclickable key rows, no edit / replace-credentials path, and no locked or upgrade indication anywhere. It reads as "editing broke" instead of an entitlement gate. Keys added while entitled (trial) stay visible but unmanageable.

Present since 0.89.0 (multi-key AI Center rewrite).

Ref: Pylon 5831

Root cause

packages/web/src/app/routes/platform/setup/ai/providers-tab/index.tsx: allowWrite = platform.plan.aiProvidersEnabled gates the Add button, the key-row onClick, and the ConfigDetail render, but the locked case renders nothing in their place. The page-level LockedFeatureGuard in .../setup/ai/index.tsx only checks platformRole !== ADMIN, never the plan flag.

Fix

When aiProvidersEnabled is false, render the locked state (LockedFeatureGuard or an inline upgrade banner) instead of a silently inert list.

Source: activepieces/activepieces