{"version":"2.1.336","anchor":"managed-settings-lock-shadowing-can-force-disable-bypass-and","canonical_anchor":"managed-settings-lock-shadowing-can-force-disable-bypass-and","heading":"Managed settings detect and can enforce bypass and auto mode locks that lower sources shadow","tier":"notice","area":"Permissions","scope":"both","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/managed-settings-lock-shadowing-can-force-disable-bypass-and","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Managed settings detect and can enforce bypass and auto mode locks that lower sources shadow\n\nClaude Code now notices when a lower settings source undercuts an admin's bypass or auto mode lock, warns about it, records it, and can force the lock on\n\n**Unclear.** It is not clear whether the internal switch is on by default, so it is unknown whether this enforcement applies yet.\n\n**What**\n\nManaged settings are settings an administrator puts on a computer. They sit above your own settings files in priority. Bypass permissions mode lets Claude run tools without asking. Auto mode lets Claude approve or reject tool calls automatically. Administrators can turn both off with `disableBypassPermissionsMode` and `disableAutoMode`.\n\nWhen Claude Code merges all settings sources, it now checks whether an administrator tier turns off bypass permissions or auto mode while the merged result does not. This can happen because a lower-priority setting shadows the administrator's lock.\n\n- Enforcement: when the lock is shadowed and a feature switch is on, Claude Code sets `permissions.disableBypassPermissionsMode` and `permissions.disableAutoMode` to \"disable\". The state of that switch has not been resolved.\n\n- Recording: the record of which policy sources made up the environment, `lastPolicyEnvComposition`, now always includes `bypassLockShadowed`, `autoModeLockShadowed` and `lowerSourceLocksOn`. This happens whether or not enforcement is switched on.\n\n- Notices: new \"lower source lock\" messages explain that keys such as `disableBypassPermissionsMode` and `disableAutoMode` in a lower-priority source either turn those modes off or are not applied.\n\n- Untrusted folders: a settings file in a folder you have not marked as trusted now also has `permissions.defaultMode` dropped in some cases. `permissions.defaultMode` is the setting that picks the starting permission mode. The warning now says \"these values in that file are not read\". It used to say \"so that file can make these settings stricter, not looser\".\n\n**Why**\n\nIf your organization locks bypass permissions or auto mode, a setting further down the chain could previously leave that mode available. Administrators can now see when this happens. Where enforcement is switched on, the administrator's lock wins. If you keep `permissions.defaultMode` in an untrusted folder's settings file, it may now be ignored.\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: both\n- Heads-up: yes"}