Central policy: allow and prohibit

Đang mở
#407 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 5 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
12/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Lĩnh vực
authorization, security

Hướng nghiên cứu

This is a policy design issue with no code paths named yet, and the RFD is still to be written and depends on the approval model in #394. Read #394 first, then the open questions in the issue notes: policy distribution, how it combines with local approvals, and what an approval covers. Done means an agreed RFD that defines the four policy requirements and their examples.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

What and why

Organisations can approve or prohibit agentic packages centrally, so developers get approved packages without individual review and can never activate a prohibited one.

Definition

Requirements (provisional, to be refined by the RFD)

  • policy.allow_skips_review: a package covered by central policy approval MUST install without an individual review.
  • policy.prohibit_wins: a package prohibited by central policy MUST stay inactive, and no local approval, including one made earlier in another codebase, may override it.
  • policy.explains: Symposium MUST say which policy decided each outcome.
  • policy.reuse_in_scope: a prior local approval MAY be reused in a new codebase only if it is within its scope and the applicable policy allows it, and Symposium MUST report that it did so.

Examples

  • policy.prohibited_package: a policy prohibits package X, and the user approved X locally last month in another project. The user opens a new project that depends on X. X stays inactive and Symposium explains the restriction.
  • policy.org_approved: a policy approves package Y. A user's project adds Y. Y installs with no review, and Symposium says central policy approved it.
Zulip discussion

No response

RFD

To be written. Depends on the approval model in #394.

Code PRs

No response

Notes

Roadmap: 2026-10-19.
Open questions: how policy is distributed; how it combines with local preferences and prior approvals; what an approval covers (publisher, package, version, digest, capabilities).
Blocks: enterprise environments.

Ngôn ngữ chính
Rust
Star
247
Fork
30
Merge trung bình
4 ngày 19 giờ
Pull request đã merge (30 ngày)
44

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của symposium-dev/symposium

Tất cả issue của symposium-dev/symposium

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.