# Different Claude Code permissions per team or role

> How to give engineers, designers and contractors different Claude Code permissions: what claude.ai can do per group today, Jamf profiles per group, repo rules, Codex overrides, and ready rules per role.

Updated November 8, 2026 · https://usecoral.app/guides/claude-code-permissions-per-team

Claude Code can’t yet take different managed settings per group from the claude.ai admin console: Anthropic says “Per-group configurations are not yet supported.” To give a team or role its own rules today, deploy a different managed settings profile to each group of Macs with Jamf or another MDM, and use claude.ai Enterprise’s custom roles and groups for who gets Claude Code, skills and plugins at all. Codex does support per-group policy in its admin console.

As of November 2026, from Anthropic’s [managed settings docs](https://code.claude.com/docs/en/managed-settings), [help center](https://support.claude.com/en/articles/13930452) and OpenAI’s [Codex managed configuration](https://learn.chatgpt.com/docs/enterprise/managed-configuration). Part of [Keep coding agents safe](https://usecoral.app/guides/agent-safety).

## What you can set per group, and where

| What | Per group today? |
|---|---|
| Who can use Claude Code at all | Yes, Enterprise custom roles |
| Which plugins people get | Yes, Enterprise groups |
| Which skills people get | Yes, Enterprise, by bundling skills in a plugin for a group |
| Spend limits | Yes, Enterprise groups |
| Permissions, hooks, sandbox, MCP servers | Not from claude.ai. Yes with a different MDM profile per group of Macs |
| Codex approval and sandbox limits | Yes, Codex Agent security overrides per user, group or role |

The Team plan has neither groups nor custom roles; both are Enterprise only.

## Who gets what: claude.ai Enterprise

- **Custom roles** switch features on or off per role, Claude Code included, along with cloud sessions, Remote Control and more. Roles add up: if any of a person’s roles grants a feature, they have it. A feature off for the whole organization can’t be turned on by a role.
- **Groups** (up to 1,000, synced from your identity provider) get plugins as Required, Installed by default, Available or Not available. When someone is in two groups, the most permissive setting wins. Anthropic says groups “are meant to enable access for teams that need a tool, not to act as a security boundary.”
- **Spend limits** can be set per group, with a person’s own limit taking precedence.

These decide who has which tools. They don’t decide what Claude Code may do once it runs. That’s managed settings.

## What their agents may do: one profile per group of Macs

Anthropic’s own answer: “To give one group of developers a different policy, deploy a different file or profile to that group.”

With Jamf:

1. Make a Smart or Static computer group per role: Engineers, Designers, Contractors.
2. Make one configuration profile per role for the `com.anthropic.claudecode` domain, each with that role’s rules (below).
3. Scope each profile to its group, and make sure no Mac is in two groups. Two profiles for the same domain on one Mac don’t combine predictably.
4. Check on a test Mac with `/status`: the managed source should read `plist`.

Steps for the profile itself are in [Claude Code managed settings, with Jamf](https://usecoral.app/guides/claude-code-managed-settings). Jamf’s paid AI Governance does the same per group through Blueprints, with forms instead of plists.

Two traps:

- **If you also set server-managed settings in claude.ai, they win** and every group’s Jamf profile is ignored, unless the claude.ai settings include `"managedSourcesBehavior": "merge"`. With merge, keep the claude.ai part to what applies to everyone.
- **On Bedrock, Vertex or Foundry**, Anthropic’s self-hosted Claude apps gateway can deliver managed settings per identity-provider group instead.

## Rules per role: a starting point

These go in each group’s profile. They assume shared rules for everyone (no force push, no production env files, sandbox on) sit in a base policy.

**Engineer:** full speed, production asks.

```json
{
  "permissions": {
    "ask": ["Bash(vercel --prod *)", "Bash(terraform apply *)", "Bash(supabase db push *)"],
    "deny": ["Bash(git push --force *)", "Read(./.env.production)"]
  }
}
```

**Designer or PM:** changes ship as pull requests, never straight to main or production.

```json
{
  "permissions": {
    "disableBypassPermissionsMode": "disable",
    "ask": ["Bash(git push *)", "Bash(npm install *)", "Bash(npx *)", "Edit(./package.json)"],
    "deny": [
      "Bash(git push origin main *)",
      "Bash(git push --force *)",
      "Bash(vercel --prod *)",
      "Bash(terraform *)",
      "Bash(kubectl *)",
      "Bash(supabase db push *)",
      "Read(./.env.production)"
    ]
  },
  "sandbox": { "enabled": true, "allowUnsandboxedCommands": false }
}
```

**Contractor:** like a designer, plus only your MCP servers and hooks.

```json
{
  "allowManagedPermissionRulesOnly": true,
  "allowManagedHooksOnly": true,
  "allowManagedMcpServersOnly": true,
  "permissions": {
    "disableBypassPermissionsMode": "disable",
    "deny": ["Bash(git push origin main *)", "Bash(vercel *)", "Read(~/.ssh/**)", "Read(~/.aws/**)"]
  }
}
```

Deny rules match a command’s text, so they stop mistakes, not a determined person. See [what rules can and can’t do](https://usecoral.app/guides/agent-safety#what-agent-rules-can-and-cant-do).

## Rules per repo

For rules that belong to a project rather than a person, commit `.claude/settings.json` to the repo: everyone who works there gets them. Protect it with a `CODEOWNERS` line, so changing the rules needs an owner’s review:

```
/.claude/ @your-org/platform
```

## The limits that work for any role

Agent rules run on each person’s Mac. The boundaries that hold no matter which agent or terminal someone uses live outside it:

- **Branch protection** on `main`: a required review, no force push.
- **Production keys** only in CI, never on a designer’s or contractor’s Mac.
- **Separate repos** for code a role shouldn’t see. Once a repo is cloned, rules can’t hide part of it.

## Codex: per-group policy in the admin console

Codex supports this directly. In the ChatGPT Admin Console → **Agent security**, set a **Workspace default**, then **Overrides** “when specific users, groups, or roles need different settings.” Requirements there are enforced; defaults can be changed by members. For a designer group, for example:

```toml
allowed_approval_policies = ["on-request"]
allowed_sandbox_modes = ["read-only", "workspace-write"]
```

That blocks `--yolo` and full-access sandbox modes. On Macs without the cloud console, the same requirements can go in `/etc/codex/requirements.toml`, or as base64 in the `com.openai.codex` MDM domain (`requirements_toml_base64`), one profile per Jamf group.

## Where Coral fits

Coral doesn’t do roles today. On each person’s Mac, [Coral](https://usecoral.app/features) shows permission requests from Claude Code, Codex and other agents in the notch, so the extra “ask” rules above cost one key, not a lost afternoon. Free on the Mac.

Coming in Coral Terminal: roles. One file says what each person’s agents may do, labeled “set by your company”, “set by your team” or “your own”, and compiles to a Jamf profile per role for Claude Code and Codex.

## Questions

### Can I give different Claude Code permissions to different teams?

Not from the claude.ai console yet; its managed settings apply to everyone. Deploy a different managed settings profile to each team’s Macs with Jamf or another MDM, scoped to that team’s computer group.

### What can Claude Enterprise control per group?

Through custom roles and groups: who can use Claude Code and other features, which plugins and skills people get, and spend limits. Claude Code’s permissions, hooks and sandbox are not per group in claude.ai.

### Does the Claude Team plan have roles or groups?

No. Groups, group spend limits and custom roles are Enterprise features.

### Can Codex have different settings per team?

Yes. In the ChatGPT Admin Console, Agent security has a workspace default and overrides for specific users, groups or roles.

### How do I stop a designer’s agent from pushing to main?

Deny `Bash(git push origin main *)` in the designer group’s managed settings, and protect `main` in GitHub with a required review. The GitHub rule is the one that holds no matter what.
