Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

RFE: Support Token Scoping

未关闭
#48 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@aKlimau 已经在做这个了。

开始于 2026年9月16日。

评估

这个 Issue 还没有评估数据。

描述

Feature Triage-Needed

It might make sense to support "token scoping" such that API tokens are model - only capable of individual actions like push, yank, etc. This makes sense when you want to hand out a lower degree of access.

Can be deferred though, not an immediate concern.


Add scope fields to CargoToken:

  • distributions — M2M to RustDistribution (empty = all the user has access to)
  • actions — JSON list of allowed actions (["publish", "yank"], empty = all)

This mirrors crates.io's RFC 2947 token scoping.

主要语言
Python
星标
1
派生
5
平均合并
3 天 21 小时
30 天内合并 PR
4

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

pulp/pulp_rust 的其他 Issue

查看 pulp/pulp_rust 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。