← All permissions
User permission·gists:write
Gists: Write
Tier 3 · Low
Why Tier 3
Creates, edits and deletes the user's gists. Content outside the organization's repositories. Secret gists are not private: anyone with the URL can read them.
Data plane permissions start at Tier 2. This one is lowered for the reason above.
Can reach T1 when people or a workflow download a script from one of the user's gists and run it, so an edit runs in their shell or job.
Inferred from: GitHub Docs: creating gists
- Target
- User
- Plane
- DataAccount: A user's own profile, follows, stars, gists and blocks.
- Granted by
- Fine-grained PAT, GitHub App
- Available on
- Every setup
What it unlocks
9 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 /gistsuser access tokens only
- PATCH /gists/{gist_id}user access tokens only
- DELETE /gists/{gist_id}user access tokens only
- POST /gists/{gist_id}/commentsuser access tokens only
- PATCH /gists/{gist_id}/comments/{comment_id}user access tokens only
- DELETE /gists/{gist_id}/comments/{comment_id}user access tokens only
- POST /gists/{gist_id}/forksuser access tokens only
- PUT /gists/{gist_id}/staruser access tokens only
- DELETE /gists/{gist_id}/staruser access tokens only
Roles that include it
No built-in role includes it. Only tokens, Apps or custom roles can grant it.
Classic scopes that reach it
- T3giststated by GitHub
Attack paths
No attack technique, escalation or incident on ghtier goes through this yet.