← All permissions
User permission·blocking:write
Block another user: Write
Tier 2 · Medium
Why Tier 2
Blocks and unblocks users. A block removes the other user as a collaborator on the user's repositories and cancels pending invitations, so it cuts that person off from them.
- Target
- User
- Plane
- DataAccount: A user's own profile, follows, stars, gists and blocks.
- Granted by
- Fine-grained PAT, GitHub App
- Available on
- Free, Team, Enterprise Cloud, EMU
What it unlocks
2 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.
- PUT /user/blocks/{username}user access tokens only
- DELETE /user/blocks/{username}user 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
No classic scope reaches it. Only fine-grained PATs, Apps or GITHUB_TOKEN can grant it.
Attack paths
No attack technique, escalation or incident on ghtier goes through this yet.