rust-lang / rust-lang/cargo

Improve error message when adding crate owners

Open
#4,153 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

A-interacts-with-crates.io C-bug Command-owner S-needs-design
Dominant language
Rust
Stars
15.5k
Forks
3k
Avg merge
23h 30m
Merged PRs (30d)
51

Description

Currently, the documentation at http://doc.crates.io/crates-io.html says to login again. This may be needed, but when adding a team within an org as crate owner the user must also go to https://github.com/settings/applications and for crates.io, and ensure they have granted organization access to the org containing the team.

(I think for older orgs granting this access might've been the default? But newer orgs need the user to explicitly grant it.)

thanks to @carols10cents for help getting this working for me.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the crates.io documentation at http://doc.crates.io/crates-io.html and compare its login guidance with the GitHub application settings at https://github.com/settings/applications. Update the guidance so users adding an organization team as a crate owner know to grant crates.io access to that organization, then verify the documented steps are complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, rust
Domain
authentication, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.