coordinator: apply caller-policy changes without a restart

Đang mở
#2,740 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 1 ngày

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
28/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust

Hướng nghiên cứu

Start from the Coordinator startup path that reads authentication.policies.<client>.subjects and from the coordinatorctl command dispatch, then trace where caller-policy validation and token authorization use the loaded policy. The change needs an explicit reload path that reuses start-time validation, swaps policy versions atomically for in-flight tokens, keeps the old policy on failure, and emits an audit record. Finish by updating the operate guide's “Admit callers” section; tests should cover successful reload, refused reload, and in-flight token behavior.

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

Mô tả

Coordinator reads its caller policies at start. Adding or removing a named operator subject (authentication.policies.<client>.subjects) therefore means restarting every Coordinator service. The same applies to changing a policy's scopes or actions.

Each operator is listed by exact subject, so the list changes whenever staff change. A restart is a heavy price for that routine change.

Ask

  • Apply caller-policy changes without a restart: on a signal or an explicit coordinatorctl command, after the same validation as start.
  • Keep the current rules. A token in flight is judged under one policy version, a refused reload leaves the running policy in place, and the change is audited.
  • Document it in the operate guide's "Admit callers" section.

Out of scope: issuer, audience or signing-key changes, which can keep needing a restart.

Ngôn ngữ chính
Rust
Star
2
Fork
0
Merge trung bình
9 giờ 48 phút
Pull request đã merge (30 ngày)
151

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

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 registrystack/registry-stack

Tất cả issue của registrystack/registry-stack

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.