disableAutoMode vs disableBypassPermissionsMode
People think one of these keys turns off both risky modes. Each one turns off one. disableAutoMode takes auto mode out of the cycle, where a model approves calls for you. disableBypassPermissionsMode blocks the mode that skips every check, and refuses the flag that starts it. A team that wants neither sets both.
disableAutoMode
The key that takes auto mode out of the list of modes.
disableAutoMode is a settings key that takes auto mode out of the Shift+Tab cycle. A session that would have started in auto mode starts in default mode. That holds if a flag, a file or the built-in default asked for auto. Its only value is the word disable. It works best when IT sets it, since people then cannot undo it.
permissions.disableBypassPermissionsMode
The key that stops anyone from turning on the skip-all mode.
permissions.disableBypassPermissionsMode is a settings key. It stops anyone from using bypass mode, which skips every check. Its only value is the word disable. With it set, Claude Code says no to the flag that skips checks. A subagent set to bypass runs in the main mode. IT most often sets it, for the whole company.
In one line
- disableAutoMode
- The key that takes auto mode out of the list of modes.
- permissions.disableBypassPermissionsMode
- The key that stops anyone from turning on the skip-all mode.