← All permissions
Enterprise permission·enterprise_access_restrictions:write
Enterprise access restrictions: Write
Tier 1 · High
Why Tier 1
Turns enterprise access restrictions by proxy header on or off. With them off, people on the corporate network can use GitHub.com accounts and organizations outside the enterprise, a way to copy code out.
- Target
- Enterprise
- Plane
- ManagementOrganization policy: Org and enterprise settings, rulesets, Actions policy, custom properties and Copilot controls.
- Granted by
- GitHub App
- Available on
- Enterprise Cloud, EMU
What it unlocks
2 REST endpoints need this permission, from GitHub's docs data. Some also need another permission, and a few work with only one kind of token.
- POST /enterprises/{enterprise}/access-restrictions/disable
- POST /enterprises/{enterprise}/access-restrictions/enable
Roles that include it
No built-in role includes it. Only tokens, Apps or custom roles can grant it.
Classic scopes that reach it
No classic scope reaches it. Only fine-grained PATs, Apps or GITHUB_TOKEN can grant it.
Attack paths
No attack technique, escalation or incident on ghtier goes through this yet.
GitHub Docs: Enterprise permissions for "Enterprise access restrictions"