| Owner users | GH_User → GH_HasRole → GH_OrgRole {owners} | Both | Identity with full org control |
| Privilege escalation roles | GH_OrgRole → GH_WriteOrganizationCustomOrgRole → GH_Organization | Control | Can modify org role definitions to set base_role to all_repo_admin — guaranteed self-escalation |
| Privilege escalation users | GH_User → role chain → above roles | Control | Can escalate the org role they hold to gain full organizational control |
| External identities (owner-mapped) | GH_ExternalIdentity → GH_MapsToUser → owner GH_User | Control | IdP identity of an org owner; compromising it grants owner access via SSO |
| App installations (all repos, write) | GH_AppInstallation {repository_selection:'all'} + write permissions | Data | App credential with write access to every repository |
| Apps (all-repo installations, write) | GH_App → GH_InstalledAs → all-repo GH_AppInstallation with write permissions | Data | App private key can generate write tokens for every repository |
| PATs (all repos, write) | GH_PersonalAccessToken {repository_selection:'all'} + write permissions | Data | Single token with write access to every repository |