Claude Code for Teams: Permissions, Hooks and What Changed This Week
By Kallistesoft · · 3 min read
Information checked on December 4, 2026 in the changelog and documentation of Claude Code. A coding agent that reads your code and runs commands is useful as long as you know what it is allowed to do. Four versions released between November 30 and December 3 touch exactly that.
What changed (versions 2.1.333 to 2.1.336)
- 2.1.336 (December 3): auto mode reviews more Bash and PowerShell commands. Hooks and a status line can come from an organization's settings in the Enterprise Admin Console. A new setting,
allowedAdminConsoleOrgUUIDs, controls how those settings apply. - 2.1.335 (December 3): computer use approvals end after 2 hours without use (30 minutes for the clipboard and system shortcuts), and always after 24 hours. When an organization turns off local MCP servers, they stop unless an admin's allowlist names them. A new
Interrupthook event is added. - 2.1.334 (December 1): sandbox fixes (for example, needless approval prompts for
npm installwhen managed settings give the sandbox no network access). - 2.1.333 (November 30):
--allowedToolsand--toolsstop the launch on some multi-value lists; put the list in one value, such as--allowedTools "Read,Edit,Write".
Several of these changes target organizations using the Enterprise console. For a small team, the essentials fit in a versioned file. Still, the direction is clear: each release tightens approvals and gives administrators more control, so settings that were fine a month ago deserve a second look after an update.
Shared rules in the repository
The permissions documentation says you can check settings into version control for the whole team. An example from the documentation:
{
"permissions": {
"allow": ["Bash(npm run *)", "Bash(git commit *)"],
"deny": ["Bash(git push *)"]
}
}
Three rules to remember: a deny always beats a more specific allow; an ask rule does too; and a bare tool name such as Bash in deny removes the tool entirely.
Hooks for what rules cannot express
According to the hooks guide, a PreToolUse hook runs before a tool call and can block it: a script that exits with code 2 denies the action and sends its error message back to Claude. The guide's example is a script that denies commands containing rm -rf. When several hooks answer, the most restrictive answer applies.
A team checklist
- Commit
.claude/settings.jsonwith narrowallowrules (Bash(git log *), notBash(git *)). - Deny
git pushand any command that touches production. - Never keep secrets in the repository; deny reading them with a
Readrule. - Review "Yes, and don't ask again" approvals: they are saved to
.claude/settings.local.json. - Read the changelog on each update: defaults move fast.
Pitfalls
- A rule that is too broad:
Bash(git * main)also matchesgit -c, which can run a program. Claude Code warns at startup about a*before the subcommand. - Assuming environment runners are transparent:
npxordocker execare not stripped before matching; write a complete rule. - Relying on auto mode as the only safeguard: it reduces prompts, it does not replace code review.
Sources
- Claude Code — Changelog
- Claude Code — Configure permissions
- Claude Code — Automate actions with hooks