Removing an org member leaves them as owner of resources they created
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- go
- 領域
- authorization, backend
調査の方向性
Start with cascadeRemovePrincipal in core/membership/org.go, which already deletes the removed member's policies and group relations but not their owner relations on resources. Reproduce with CreateProjectResource, RemoveOrganizationMember, then CheckFederatedResourcePermission for update. Done when a removed member's owner relations are revoked and the update check returns false.
索引モデルが issue の本文から書いたものです。
説明
When a member is removed from an organization, Frontier deletes their policies in the org. It does not delete the owner relation on resources they created. A resource's permissions include owner, so the removed member can still update and delete those resources.
This applies to project resources, and to organization resources once #1987 lands.
Steps
- Give an org member a role on a project that lets them create resources, such as
app_project_owner. - The member creates a resource with
CreateProjectResource. - Remove the member with
RemoveOrganizationMember. - Check
updateon the resource for that user withCheckFederatedResourcePermission. It returns true.
Code
cascadeRemovePrincipal in core/membership/org.go deletes the member's policies and group relations, but not their owner relations on resources.
Expected
A removed member has no access to the org's resources.
- 主要言語
- Go
- スター
- 344
- フォーク
- 48
- 平均マージ
- 2日 9時間
- マージ済み PR(30日)
- 48
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
raystack/frontier のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
raystack/frontier の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
[Bug]: Bedrock invoke-with-response-stream reports `stop_reason: "end_turn"` for tool-use turnsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
oalders/clodhopper#162 ·
メンテナーはふだん 1 日以内に返信
-
component/server severity/minor type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信