An atespace role that runs actors' lifecycle and nothing else

オープン
#3,526 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@den-vasyliev がすでに取り組んでいます。

2026年10月31日 から。

  • #3527 @den-vasyliev による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
20/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
go
領域
authorization

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Go
スター
6.1k
フォーク
676
平均マージ
2日 2時間
マージ済み PR(30日)
522

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

agent-substrate/substrate のほかの issue

agent-substrate/substrate の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。