-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Lower ORGANIZATION_ADMIN_TOKEN requirement #231
Comments
Switching default branch can only be done with admin privileges, AFAIK. Or at least it was when I initially wrote that utility. Did that change? |
What exactly defines the "admin privileges"? what scopes must be checked? there are actual scopes that contain name "admin" in their name if you open the link: |
Since I lost my token, I needed to create the token again, and I was reading the documentation to create the token again, but it is not explicit with scope names, I don't like this wording:
I would prefer it said:
and can provide a universal link to create the token. So, the questions here are:
|
Update: Recreated token with "repo" scope was able to make release: So, if the scopes can't be lowered should at least update the doc to include a direct link with scopes checked. |
It could be that personal repos and org repos have different permissions. Possibly worth revisiting all this once fine-grained tokens are available? |
Summary
Current docs say about
ORGANIZATION_ADMIN_TOKEN
:But if I look at the "full repo" scope (it means all checkboxes under "repo" checked?), I'm hesitant that this program needs security scan privileges or manage invites:
also, perhaps it's better to describe with the scope names to be distinctively clear what scopes are needed. in fact, you can pass the defaults in URL:
The text was updated successfully, but these errors were encountered: