Overview
Scope overrides allow you to modify inherited permissions at specific points in your scope hierarchy. This enables fine-grained control without restructuring your entire role and permission model.Types of Overrides
Bedrock supports three types of overrides:How Overrides Work
Overrides are applied per scope during grant resolution:Overrides are per-scope, not a top-down cascade: an override set at a parent scope does
not automatically apply to children evaluated under the default
override mode. A
role-permission grant can add a grant for a role the subject already holds; revoke/
inactive remove grants. See Scope Overrides for the full model.Role Overrides
Disable or enable an entire role at a specific scope.Example: Disable Admin Role in Production
Updating Role Overrides
Permission Overrides
Disable or enable a specific permission at a scope.Example: Disable Delete Permission in Compliance Scope
Example: Disable Code Execution for All Agents
Role-Permission Overrides
The most granular override: disable a specific permission for a specific role at a specific scope.Example: Editors Can’t Delete in Archived Projects
Example: Agents Can Read But Not Write in Sensitive Areas
Overrides Are Per-Scope
Overrides are applied at the scope where they are set—there is no cross-scope “most specific wins” precedence and no automatic top-down cascade. Under the defaultoverride permissionMode, only the request scope’s own overrides apply; under inherit/additive, each scope’s overrides apply to that scope’s grants as they compose. To restrict at multiple scopes, set the override at each. See Scope Overrides and Scope Types.
Viewing Overrides
Get All Overrides for a Scope
Deleting Overrides
Common Patterns
Pattern 1: Production Lockdown
Restrict dangerous operations in production:Pattern 2: Agent Sandboxing
Restrict agent capabilities in sensitive areas:Pattern 3: Temporary Restrictions
Apply temporary restrictions during incidents:Pattern 4: Compliance Zones
Create compliance zones with restricted access:Best Practices
Use overrides sparingly
Use overrides sparingly
Too many overrides make the system hard to understand. Prefer restructuring roles when possible.
Document your overrides
Document your overrides
Keep a record of why each override exists and when it should be reviewed.
Prefer permission overrides over role overrides
Prefer permission overrides over role overrides
Permission overrides are more granular and less likely to have unintended effects.
Test override effects
Test override effects
Before applying overrides in production, test in a staging environment.
Audit override changes
Audit override changes
Log all override creations, updates, and deletions for compliance.
Next Steps
User Governance
Apply overrides to user permissions
Agent Governance
Apply overrides to agent permissions