github-stats icon indicating copy to clipboard operation
github-stats copied to clipboard

Clarify needed permissions

Open tiagonmas opened this issue 3 years ago • 5 comments
trafficstars

Current instructions state on step 2: "Personal access token must have permissions: read:user and repo." When we are creating a New fine-grained personal access token , we have many permissions to chose from. It's not clear what permissions need to be added for this to work. There is no read:user or repo.

image

tiagonmas avatar Nov 09 '22 17:11 tiagonmas

I am not sure what are all the permissions needed in order to generate the images. Need clarification.

MadRoosterCro avatar Jan 02 '23 20:01 MadRoosterCro

The permissions you are looking for are under Tokens (classic), not the beta fine-grained tokens.

H7SxIdL 1
The correct permissions page can be found at https://github.com/settings/tokens/new.

ellielle avatar Jan 05 '23 14:01 ellielle

Could you update the repo README instructions? I needed to find this thread to finally fix the same problem

shadyueh avatar Jan 28 '23 13:01 shadyueh

yes please update the readme with only use tokens(classic). i have the fine-grained token with read repo properties still it generates images with 0 count

py563 avatar Apr 10 '23 10:04 py563

im pretty sure it is not safe to grant such permissions to a stranger but .. 😪style points

hebelia avatar Jul 15 '23 20:07 hebelia