← All permissions
Repository permission·codespaces:read
Codespaces: Read
Tier 3 · Low
Why Tier 3
Lists codespaces for the repository.
Data plane permissions start at Tier 2. This one is lowered for the reason above.
- Target
- Repository
- Plane
- DataCodespaces: Creating and running cloud development environments.
- Granted by
- Fine-grained PAT, GitHub App
- Available on
- Free, Team, Enterprise Cloud, EMU
What it unlocks
5 REST endpoints need this permission. A few of them:
- GET /repos/{owner}/{repo}/codespaces
- GET /user/codespaces
- GET /user/codespaces/{codespace_name}
Roles that include it
No built-in role includes it. Only tokens, Apps or custom roles can grant it.
Classic scopes that reach it
Attack paths
No attack technique, escalation or incident on ghtier goes through this yet.