Clarify Principal Attribution vs application identity propagation and execution authorization
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 70/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- javascript
調査の方向性
まず Principal Attribution と Context Propagation のドキュメントページを読み、次にアイデンティティと認可スコープに関する説明を比較してください。履歴上の帰属と伝播されたアプリケーションアイデンティティは、後続の Activity の副作用に対する現在の認可を保証しないことを明確にする、簡潔な注記または相互リンクを追加してください。両方のトピックでこの違いが明確になり、Temporal が Activities を自動的に再認可すると誤解させない状態になれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Temporal now documents several adjacent identity/security mechanisms that are easy to mentally collapse:
- Authorizer / ClaimMapper decide whether incoming Temporal API calls are allowed.
- Principal Attribution can stamp the Principal returned by the Authorizer onto Event History events.
- Context Propagation / Interceptors can carry application metadata such as user/tenant/auth values across Client -> Workflow -> Activity boundaries.
For long-running workflows and agent-style execution, I think it would help to document one explicit non-equivalence:
Principal Attribution
!= application identity propagation
!= current authorization for an external Activity side effect
Example:
user U starts a workflow at t1
-> history is attributed to U
-> U is propagated in app context
-> workflow waits/retries
-> U loses permission at t2
-> a side-effecting Activity attempt runs at t3
The historical Principal and propagated application identity can both remain U, while the application's current authorization at t3 may have changed.
I am not suggesting Temporal should automatically re-authorize every Activity or that current behavior is insecure. This is mainly a scope/documentation question: does Principal Attribution intentionally mean only audit attribution of Temporal API/history events, with business/tool authorization continuity remaining application-defined?
If yes, a short cross-link/note near Principal Attribution and Context Propagation could prevent users building durable agents from treating an attributed Principal as an end-to-end authorization guarantee.
I wrote the distinction out in a source/docs-reviewed note here:
Given the recent focus on agent security / identity propagation, this seems like a useful boundary to make explicit before stronger execution-authorization semantics are added.
- 主要言語
- JavaScript
- スター
- 177
- フォーク
- 339
- 平均マージ
- 2日 8時間
- マージ済み PR(30日)
- 194
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
temporalio/documentation のほかの issue
-
Document that Search Attributes on Standalone Activity start are not billed as additional Actionsオープン
難易度 1/5 1〜3時間 初心者へのやさしさ 90/100
temporalio/documentation#5883 ·
メンテナーはふだん 1 日以内に返信
-
Add automated TRU management to the Temporary Rate Limit Increases guide対応中かも @Duncanma が 10 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
temporalio/documentation#5764 ·
メンテナーはふだん 1 日以内に返信
-
User lifecycle management clarifications対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
temporalio/documentation#5702 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
temporalio/documentation#5274 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
temporalio/documentation#5817 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
temporalio/documentation の issue をすべて見る
似ている issue
-
area-integrations
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Trac-Systems/main_settlement_bus#1071 ·
メンテナーはふだん 1 日以内に返信
-
Bug kind/bug pulumi/pulumi R1 S1
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
good first issue help wanted
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
Stanley03-arch/Rabbit#15 ·
メンテナーはふだん 1 日以内に返信