Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature/Idea]: Add documentation/support for fine-grained personal access tokens #64

Closed
russellbanks opened this issue Dec 1, 2022 · 1 comment · Fixed by #93
Closed
Labels
feat New feature request

Comments

@russellbanks
Copy link
Contributor

What would you like to see changed/added?

GitHub has a new type of personal access token that are fine-grained and repository-scoped.

Fine-grained personal access tokens give developers granular control over the permissions and repository access they grant to a PAT.

The existing personal access tokens continue to be fully supported, and are now called personal access tokens (classic).

Personal access tokens (classic) are given permissions from a broad set of read and write scopes. They have access to all of the repositories and organizations that the user could access, and are allowed to live forever. As an example, the repo scope provides broad access to all data in private repositories the user has access to, in perpetuity.

Fine-grained personal access tokens, by contrast, are given permissions from a set of over 50 granular permissions that control access to GitHub’s organization, user, and repository APIs. Each permission can be granted on a ‘no access’, ‘read’ or ‘read and write’ basis. As an example, you can now create a PAT that can only read issues and do nothing else – not even read the contents of a repository.

In turn, setting one up for WinGet Releaser is more confusing, so documentation is needed to support this.

@russellbanks russellbanks added the feat New feature request label Dec 1, 2022
@russellbanks
Copy link
Contributor Author

Whenever possible, GitHub recommends using fine-grained PATs instead of PATs (classic).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants