8000 Request: low permission login option · Issue #6 · remorses/actions-cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Request: low permission login option #6

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 Git 8000 Hub”, 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

Open
AndydeCleyre opened this issue Oct 29, 2020 · 2 comments
Open

Request: low permission login option #6

AndydeCleyre opened this issue Oct 29, 2020 · 2 comments

Comments

@AndydeCleyre
Copy link

Currently the login process grants permission to "read and write all public and private repository data" -- which is more than I'm willing to give, especially considering I only want to check on public projects.

Can we get a more limited option for permissions granting?

@remorses
Copy link
Owner
remorses commented Nov 1, 2020

Last time I tried using only read permission I could not use the workflow api, can you check if only using read data works now? You can use your own token passing the —token flag to the login command

@AndydeCleyre
Copy link
Author
AndydeCleyre commented Nov 4, 2020

Thanks!

I tried with a token with only the three basic personal read privileges, and checking status hung at "waiting job handling last commit ..." -- actually I'm not sure if that's "hanging" or as intended, as no workflow ran against that commit. So then I specified a sha that actually triggered a past run, and the status printed beautifully.

EDIT:
image

This is solved for my case. Thanks for this!

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

No branches or pull requests

2 participants
0