Githawk: Limited Permissions with GitHub 2FA

Created on 19 Mar 2018  路  7Comments  路  Source: GitHawkApp/GitHawk

~After dismissing the users context menu, it shows the assignee added in the timeline view, then the add request errors out with a generic error from toast, and the assignee is removed from the timeline view.~

Logging in to a 2FA account through Safari does not allow me to assign users to issues.

Logging in using a personal access token with the repo and user scopes allows me to assign users on repos which I am a owner of (but not collaborator).

Sent with GitHawk

馃悰 bug

All 7 comments

@SD10 able to debug in flex? Not happening for me

Sent with GitHawk

Looking into it. ~This error does not occur on the GitHawk test playground.~ It occurs for me on my MessageKit repo.

Request URL: https://api.github.com/repos/MessageKit/MessageKit/issues/575/assignees
Request Method: POST
Status Code: 403
Response Body: "message": "Must have admin rights to the Repository."

When trying to unassign myself from this issue, it shows SD10 unassigned SD10 locally but no changes persist on GitHub or after leaving the controller 馃槀

Request URL: https://api.github.com/repos/GitHawkApp/GitHawk/issues/1667/assignees
Request Method: DELETE
Status Code: 200 OK
Response Body: ... a lot of JSON

Sorry to spam but @rnystrom could it be that I enabled 2FA yesterday?

EDIT: Yep, logging in with a personal access token with the repo & user scope fixes part of the problem. I can modify all the repos I'm an admin of, but not things like GitHawk. Wonder what other scopes I need?

Dang that鈥檚 tricky. Maybe we need better alerting when you lose permissions for certain actions? I could imagine pulling my hair out over something like this.

Sent with GitHawk

Yeah, I haven鈥檛 had time to investigate but I鈥檓 going to try a personal access token with all options next. Not sure what effect that will have because the remaining options are unrelated to what I want to accomplish.

I find it perplexing that I would not have full permissions after logging in with safari + GitHub 2FA

Sent with GitHawk

Weird, as of today I鈥檓 able to perform write operations again without having changed anything. So glad I can finally start using GitHawk again 馃槏 Closing this

Sent with GitHawk

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BasThomas picture BasThomas  路  3Comments

Iron-Ham picture Iron-Ham  路  3Comments

jessesquires picture jessesquires  路  3Comments

BasThomas picture BasThomas  路  3Comments

BasThomas picture BasThomas  路  3Comments