Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.21 ·

Organization Policy Limits (Enterprise)

Entry
JSON All of v2.1.21
EntryKind: in v2.1.21,
ChangesSection of the release
What

Enterprise organizations can now enforce access policies that restrict certain Claude Code features like remote sessions.

Details
  • New API endpoint /api/claude_code/policy_limits fetches organization-defined restrictions
  • Policies are cached locally at ~/.config/claude-code/policy-limits.json
  • Automatic refresh on authentication changes and periodic background polling
  • Currently enforces allow_remote_sessions policy for teleport and remote session creation
  • Only available for enterprise subscription users with proper API scopes
  • When blocked, users see: "Remote sessions are disabled by your organization's policy."
Evidence

BB() at line 388033 (enterprise check, uses subscriptionType !== "enterprise"), YP() at line 380468 (policy checker, uses "allow_remote_sessions"), IX2() at line 380287 (API endpoint builder, contains "/api/claude_code/policy_limits")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.21 →

Feedback