# allowManagedPermissionRulesOnly

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

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** allowManagedPermissionRulesOnly setting

## Think of it like

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

## 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

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

## Example code

```json
{
  "allowManagedPermissionRulesOnly": true
}
```

Only IT's allow, ask and deny rules count.

## Why it matters

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

## Common mistake

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

## Three principles

- **Company rules only.** Allow, ask, deny.
- **No always allow.** In prompts.
- **Flag denies still work.** They only narrow.

## Related terms

- [Permission Rule](https://learn.benibix.com/term/ai/permission-rule)
- [--allowedTools Flag](https://learn.benibix.com/term/ai/allowed-tools-flag)
- [allowManagedHooksOnly](https://learn.benibix.com/term/ai/allow-managed-hooks-only-setting)

---

Source: https://learn.benibix.com/term/ai/allow-managed-permission-rules-only-setting
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-16
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
