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
error: failed to add owners to crate plain_hasher: api errors: It looks like you don't have permission to query a necessary property from Github to complete this request. You may need to re-authenticate on crates.io to grant permission to read github org memberships. Just go to https://crates.io/login
When I entered the website, I got logged out after refreshing the page. Might be related to #986
cargo owner --add is functioning as I would expect.
Are you trying to add a user or a team?
If a team, github recently changed their oauth implementation, and you have to explicitly grant access for each oauth token to each organization, and the organization must not be blocking access. We have some docs for this here: http://doc.crates.io/crates-io.html#github-permissions
changed the title [-]Cargo owner --add fails[/-][+]Cargo owner --add gives a confusing error message if the organization is blocking access[/+]on Aug 25, 2017
Activity
carols10cents commentedon Aug 24, 2017
cargo owner --add
is functioning as I would expect.Are you trying to add a user or a team?
If a team, github recently changed their oauth implementation, and you have to explicitly grant access for each oauth token to each organization, and the organization must not be blocking access. We have some docs for this here: http://doc.crates.io/crates-io.html#github-permissions
Please let me know if this resolves your issue.
debris commentedon Aug 24, 2017
I'm trying to add a team. Thank you for the link! I will contact my organization admin and see if it works.
In the meantime, after I've reauthorized crates.io for my profile, I've tried to add my organization anyway (even though I knew It will fail).
That's the error message I got. I think it's a regression compared to what it used to be ;)
[-]Cargo owner --add fails[/-][+]Cargo owner --add gives a confusing error message if the organization is blocking access[/+]