Skip to content
BENIBIX Learn

allowManagedPermissionRulesOnly

AI⌨️ Claude CodeConfiguration

Also known as allowManagedPermissionRulesOnly setting

The key that lets only IT write the rules for what Claude may do.

Think of it like

It is like a guest list kept only at the front door. Friends cannot add names on their own.

Example

Jack's team kept adding allow rules that let Claude push code. IT turns this key on, and only its own rules count.

Why it matters

An allow rule in your own file can let Claude do more, and no one sees it.

Definition

allowManagedPermissionRulesOnly is a key that IT sets. With it on, only IT's rules count. Claude Code skips the allow, ask and deny rules in user, project and local files. It skips the --allowedTools flag too. It hides the always allow choice and saves no new rules. Deny rules from a flag still work.

Example code

json
{
  "allowManagedPermissionRulesOnly": true
}
Only IT's allow, ask and deny rules count.

Common mistake

Expecting deny rules from a flag to be dropped too. They still apply, since they can only take away.

Key takeaways

  1. 1
    Company rules only. Allow, ask, deny.
  2. 2
    No always allow. In prompts.
  3. 3
    Flag denies still work. They only narrow.