-
Notifications
You must be signed in to change notification settings - Fork 603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking Issue: Token Scopes #5443
Comments
Was there a reason for limiting the patterns allowed for token scope to, for example, My use case is I have a workspace with binary (Apologies if this is not the right place to ask this question) |
@mbhall88 mostly for implementation simplicity. you can add multiple scopes to one token though, so this should still be relatively easy to achieve. |
This is a tracking issue for the RFC "crates.io Token Scopes" (rust-lang/rfcs#2947).
Steps:
Backend:
crate_scopes
andendpoint_scopes
columns #5562)crate_scopes
andendpoint_scopes
fields to thePUT /me/tokens
API endpoint #5973 and GET /me/tokens: Addcrate_scopes
andendpoint_scopes
fields #6310)Frontend:
settings/tokens/new
page #6395)The exact details of these steps are still tbd. Feel free to discuss here or contact the @rust-lang/crates-io team if you have any questions. It might be best to discuss the plans first before working on and opening a PR 😉
Unresolved questions:
crates the best, or should a token with crate scopes prevent access to
endpoints that don't act on crates?
The text was updated successfully, but these errors were encountered: