Can't push to organization repo
ms609 opened this issue · 3 comments
Description
When I try to push to a public organizational repo, I see a 403 permission denied error:
I can push to personal repositories (on my ms609 account) from within Atom, and can push to the organizational repo using GitHub Desktop.
Reproduces how often:
Reproduces all the time on this machine – though I think I recall it working as expected on a different machine (same OS / Atom version)
Versions
Windows 10.
Atom : 1.60.0
Electron: 9.4.4
Chrome : 83.0.4103.122
Node : 12.14.1
apm 2.6.2
npm 6.14.13
node 12.14.1 x64
atom 1.60.0
python 3.9.7
git
visual studio
Additional Information
Maybe the token that gets generated for the GitHub package lacks write permission to orgs?
You can try replacing the token with a manually-generated Personal Access Token (https://github.com/settings/tokens) as discussed here: #2686 And make sure the token has org:write
permission, in addition to whatever other permissions you may need.
That might work? (If not, maybe the GitHub user account you authenticated with lacks write permission to that org/repo? Or some miscellaneous other issue...)
Thanks for the suggestion; I've regenerated a token with the write:org
, but still encounter the issue. I've also confirmed that the user account has write permission to the org/repo.
I've also updated the Windows Credentials per the suggestion at #2686 (comment) .
Talvez o token gerado para o pacote do GitHub não tenha permissão de gravação para organizações?
Você pode tentar substituir o token por um Token de Acesso Pessoal gerado manualmente ( https://github.com/settings/tokens ) conforme discutido aqui: #2686 E certifique-se de que o token tenha
org:write
permissão, além de quaisquer outras permissões que você possa precisar .Isso pode funcionar? (Se não, talvez a conta de usuário do GitHub com a qual você autenticou não tenha permissão de gravação para esse org/repo? Ou algum outro problema...)
Como, saber Fazer resposta, Cotacao ..