← All permissions
Repository permission·repository_creation:write
Repository creation: Write
Tier 2 · Medium
Why Tier 2
Creates repositories in the organization, and the creator gets access to each new one. GitHub treats it as sensitive: an App that asks for it needs an organization owner to approve the installation.
- Target
- Repository
- Plane
- DataCode: Repository contents, branches, tags, pull requests, checks and commit signing keys.
- Granted by
- Fine-grained PAT, GitHub App
- Available on
- Every setup
What it unlocks
4 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}/reposalso needs Administration: Write
- POST /repos/{owner}/{repo}/forksalso needs Administration: Write and Contents: Read
- POST /repos/{template_owner}/{template_repo}/generatealso needs Administration: Write and Contents: Read
- POST /user/reposalso needs Administration: Write
Roles that include it
- T0OwnerThe organization and every repository in it
- T1Security managerThe organization and every repository in it
- T1App managerGitHub Apps owned by the organization
- T2MemberThe organization
- T2ModeratorThe organization's public spaces
Classic scopes that reach it
- T0repodocumented
- T2public_repodocumented
Attack paths
No attack technique, escalation or incident on ghtier goes through this yet.
GitHub Docs: Repository permissions for "Repository creation"