[apps] Fix apps enablement condition. (#14011)

- [x] Fix apps enablement condition to check both the feature flag and
that the user is not an API key user.
This commit is contained in:
Matthew Zeng authored and GitHub committed 2026-03-09 22:25:43 -07:00
1 parent a9ae43621b
commit 566e4cee4b
18 files changed
+662 -86

No files matched your search

+1 -1
View File
@@ -268,7 +268,7 @@ fn effective_mcp_servers(
let servers = configured_mcp_servers(config, plugins_manager);
with_codex_apps_mcp(
servers,
config.features.enabled(Feature::Apps),
config.features.apps_enabled_for_auth(auth),
auth,
config,
)