octokit / octokit.rb

Ruby toolkit for the GitHub API
http://octokit.github.io/octokit.rb/
MIT License
3.83k stars 1.13k forks source link

Get Projects by personal access token-Must have admin rights to Repository #1656

Open lcxznpy opened 5 months ago

lcxznpy commented 5 months ago

Describe the need

I use octokit/rest.js When I login with personal access token and then get all my project by project-id , I get this error: 403 - Must have admin rights to Repository. When I login with username:password I get all my teams from organization without error. WHY???

SDK Version

No response

API Version

No response

Relevant log output

No response

Code of Conduct

github-actions[bot] commented 5 months ago

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

wanghui17 commented 1 month ago

Any updates here? I encounter the same issue.