transferIssue requires Contents write permission for GitHub Apps #207702
Replies: 4 comments 2 replies
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
This comment was marked as low quality.
This comment was marked as low quality.
|
If
Requiring I’m building an open-source permission debugger around these cases, so if GitHub confirms the intended permission here I’d like to add it as a documented edge case: |
|
I can confirm |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
API
Body
The GraphQL transferIssue mutation returns a GQL FORBIDDEN error ("Resource not accessible by integration") for a GitHub App installation token with Issues:write on both the source and destination repositories.
I tested transfers between two public repositories under the same account.
Issues:write alone fails, as does Issues:write plus Contents:read. Contents:write succeeds, even when the token has no Issues permission. A user can transfer the same issue. Is Contents:write intentionally required for transferIssue? If so, this should be documented. If not, requiring code-write access just to move issues seems like a permission bug.
All reactions