ghtier
← All permissions
Organization permission·organization_custom_org_roles:write

Custom organization roles: Write

Tier 1 · High

Why Tier 1

Creates, changes and deletes custom organization roles. A role can hold organization permissions such as rulesets, Actions policies, secrets, runners and webhooks, and a base repository role up to Admin on every repository. It cannot hold member management or the organization's general settings. Editing a role that is already assigned changes what every holder can do; assigning roles needs Members (write).

Control plane permissions start at Tier 0. This one is lowered for the reason above.

Can reach T0 when a custom role that is already assigned is edited to add the Admin base repository role, so every holder becomes admin on every repository in the organization at once.

Documented: GitHub Docs: about custom organization roles, GitHub Docs: managing custom organization roles

Target
Organization
Plane
ControlRoles: Custom organization, repository and enterprise roles.
Granted by
Fine-grained PAT, GitHub App
Available on
Enterprise Cloud, EMU, Server

What it unlocks

3 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 /orgs/{org}/organization-roles
  • PATCH /orgs/{org}/organization-roles/{role_id}
  • DELETE /orgs/{org}/organization-roles/{role_id}

Roles that include it

  • T0OwnerThe organization and every repository in it

Custom role permissions that add it

An owner can build a custom role from these on Enterprise Cloud. Nobody holds one until a custom role with it is assigned.

  • Manage custom organization roleswrite_organization_custom_org_roleorganization role

Classic scopes that reach it

Attack paths

No attack technique, escalation or incident on ghtier goes through this yet.

Other levels

GitHub Docs: Organization permissions for "Custom organization roles"