# Codespaces: Write (repository)

Tier 2 permission, `permission:codespaces:write`. Page: https://ghtier.com/tier/permissions/codespaces-write

Creates codespaces, which run the repository's dev container with the user's access.

**Included in roles:** [Write](https://ghtier.com/tier/roles/repo-write.md) (Tier 1), [Maintain](https://ghtier.com/tier/roles/repo-maintain.md) (Tier 1), [Admin](https://ghtier.com/tier/roles/repo-admin.md) (Tier 1), [Owner](https://ghtier.com/tier/roles/org-owner.md) (Tier 0), [All-repository write](https://ghtier.com/tier/roles/org-all-repo-write.md) (Tier 1), [All-repository maintain](https://ghtier.com/tier/roles/org-all-repo-maintain.md) (Tier 1), [All-repository admin](https://ghtier.com/tier/roles/org-all-repo-admin.md) (Tier 0)

**Reached by classic scopes:** [admin:org](https://ghtier.com/tier/tokens/admin-org.md) (Tier 0), [codespace](https://ghtier.com/tier/tokens/codespace.md) (Tier 2)

**Keys and policies that act as or change it:** [Codespaces token](https://ghtier.com/tier/keys-policies/codespaces-token.md) (Tier 2)

**Strange findings:** [Codespaces a member pays for skip the organization's policies](https://ghtier.com/strange-findings/finding-user-paid-codespaces-skip-org-policies.md)

**Sources:**
- [GitHub docs](https://docs.github.com/en/rest/authentication/permissions-required-for-github-apps#repository-permissions-for-codespaces)

From ghtier (https://ghtier.com). Every entry and link: https://ghtier.com/data/graph.json. Tiers: https://ghtier.com/tier.
