An atespace role that runs actors' lifecycle and nothing else

Đang mở
#3,526 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

@den-vasyliev đang làm issue này rồi.

Từ ngày 31/10/2026.

  • #3527 của @den-vasyliev — đang mở

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
20/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
authorization

Hướng nghiên cứu

The role grants are in the atespace access policies, where editor from parent_atespace currently grants can_suspend, can_resume and can_revert on actors, and the permission table lists the roles. Read how editor implies its existing grants, then check that a new operator role gets only lifecycle permissions plus get. Done means operator is accepted in policies, appears in the permission table, and an editor's permissions are unchanged. Pull request #3527 is already open against this, so coordinate with its author before starting.

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

Mô tả

area/security kind/feature

A controller outside Substrate that only resumes and suspends actors, such as a scheduler that puts an actor to sleep once its turn is over, has to hold editor on the atespace today: can_suspend, can_resume and can_revert on an actor are granted to editor from parent_atespace (the model also defines a direct [user] relation on the actor, but no API writes it).

editor also creates, updates and deletes every actor and actor template in the atespace, so a compromised scheduler can replace or remove every actor there, not just stop one.

Proposal: a fourth atespace role, operator, that may resume, suspend, revert and get actors and nothing else; editor implies it, so nothing an editor can do changes. Accepted in atespace access policies and listed in the permission table. I have a change ready and will open it against this issue.

Ngôn ngữ chính
Go
Star
6.1k
Fork
676
Merge trung bình
2 ngày 1 giờ
Pull request đã merge (30 ngày)
481

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 agent-substrate/substrate

Tất cả issue của agent-substrate/substrate

Issue tương tự

Thêm issue về Go

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.