Clarify Principal Attribution vs application identity propagation and execution authorization
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 70/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu bằng cách đọc các trang tài liệu Principal Attribution và Context Propagation, sau đó so sánh mô tả của chúng về danh tính và phạm vi ủy quyền. Thêm một ghi chú ngắn gọn hoặc liên kết chéo để làm rõ rằng việc quy thuộc lịch sử và danh tính ứng dụng được truyền tải không đảm bảo quyền ủy quyền hiện tại cho một tác dụng phụ của Activity xảy ra sau đó. Hoàn thành khi cả hai chủ đề đều làm rõ sự khác biệt này mà không ngụ ý Temporal tự động cấp quyền lại cho Activities.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- JavaScript
- Star
- 177
- Fork
- 339
- Merge trung bình
- 2 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 194
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của temporalio/documentation
-
Document that Search Attributes on Standalone Activity start are not billed as additional ActionsĐang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 90/100
temporalio/documentation#5883 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add automated TRU management to the Temporary Rate Limit Increases guideCó thể đã có người làm @Duncanma đã nhận 10 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
temporalio/documentation#5764 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
User lifecycle management clarificationsCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
temporalio/documentation#5702 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
temporalio/documentation#5274 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
temporalio/documentation#5817 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của temporalio/documentation
Issue tương tự
-
area-integrations
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Trac-Systems/main_settlement_bus#1071 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bug kind/bug pulumi/pulumi R1 S1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue help wanted
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Stanley03-arch/Rabbit#15 ·
Maintainer thường phản hồi trong vòng 1 ngày