You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding users to organization-owned repositories fails for me due to GHRepository#verifyMine() saying "Operation not applicable to a repository owned by someone else" which is quite correct, still not OK if the logged in user has respective privileges on the repository.
Proposal: remove this check and wait for GitHub to return HTTP 401/403.
The text was updated successfully, but these errors were encountered:
There's no need for the library to replicate a logic when GitHub does
that (and does that correctly.)
Looking at the commit history, I couldn't see why this was added in the
first place.
Adding users to organization-owned repositories fails for me due to GHRepository#verifyMine() saying "Operation not applicable to a repository owned by someone else" which is quite correct, still not OK if the logged in user has respective privileges on the repository.
Proposal: remove this check and wait for GitHub to return HTTP 401/403.
The text was updated successfully, but these errors were encountered: