BReg acceptance: statistics profiles admit any token of the project
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- rust
調査の方向性
products/breg/acceptance/facility/registry.yaml から始める: statistics-publisher と statistics-reader のプロファイルを、requiredScopes/requiredPurposes を宣言している他のプロファイルと比較する。付与済みのスコープ(registry:facility:statistics:publish / :read)については dev-clients.yaml を、受理(admission)のセマンティクスについては docs/site/src/content/docs/configure/breg-access.mdx を確認する。完了の条件は、bregctl check がこれらのプロファイルに対して access.profile.no_required_scope をもう出力しなくなり、statistics のテストとワークフロースクリプトが既存の dev-client スコープのまま引き続き通ることである。
索引モデルが issue の本文から書いたものです。
説明
In products/breg/acceptance/facility/registry.yaml, statistics-publisher and statistics-reader declare only principalClaim: registry_principal: no requiredScopes and no requiredPurposes. Every other profile in the project uses the same principal claim, and a request is admitted against whichever profile the application selects (docs/site/src/content/docs/configure/breg-access.mdx, "One profile per request"). So a token issued for any task in this project can select statistics-publisher.
statistics-publisher lists and counts permits and discharge reports in every district (rowBoundaries: [], allowCount: true), filterable by permit type, validity dates, boundary and the derived flags. That is required for it to publish releases, but it means any caller with a token for this registry can obtain exact counts, including the small cells a release suppresses (1 to 4) and rounds.
The intent looks clear from dev-clients.yaml, which gives the publisher client registry:facility:statistics:publish and the reader client registry:facility:statistics:read; the profiles never require those scopes. bregctl check already warns (access.profile.no_required_scope: "any authenticated" caller), but the acceptance project is the example adopters copy for statistics.
Expected. Both statistics profiles require their scope (and the project's purpose if that fits), and the statistics tests and workflow script keep passing with the dev clients' existing scopes.
- 主要言語
- Rust
- スター
- 2
- フォーク
- 0
- 平均マージ
- 9時間 5分
- マージ済み PR(30日)
- 248
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
registrystack/registry-stack のほかの issue
-
area:casework bug criticality:p2 rust
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
registrystack/registry-stack#1936 ·
メンテナーはふだん 1 日以内に返信
-
area:casework bug criticality:p3 rust
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
registrystack/registry-stack#1934 ·
メンテナーはふだん 1 日以内に返信
-
area:release area:scheduling bug criticality:p3 triage:needs-implementation
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
registrystack/registry-stack#1909 ·
メンテナーはふだん 1 日以内に返信
-
area:release bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
registrystack/registry-stack#1874 ·
メンテナーはふだん 1 日以内に返信
-
area:breg bug criticality:p3
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
registrystack/registry-stack#1851 ·
メンテナーはふだん 1 日以内に返信
registrystack/registry-stack の issue をすべて見る
似ている issue
-
agent:triaged bug bughunt pm:npm priority:p1
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
SocketDev/socket-patch#1127 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
documentation enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
adorsys/status-list-server#619 ·
メンテナーはふだん 2 日以内に返信
-
batch-backport only backports the first 30 matching PRs対応中かも @DvirDukhan が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 5 日以内に返信
-
Configuration-level resource: `Allocate` rejects the kubelet's re-offer of the same device for a later container of the same Pod ("Unable to claim slot")対応中かも @fang80913 が 38 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
project-akri/akri#854 ·