An attribute DENY does not block DELETE
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- go
調査の方向性
Start by tracing DELETE authorization and how object attributes are attached to the request; the issue does not name files or tests, so locate the eACL evaluation path and its DELETE coverage. Reproduce the steps with an attribute-based DENY rule, then confirm the matching object is rejected while an object without the attribute is unaffected.
索引モデルが issue の本文から書いたものです。
説明
Expected Behavior
A DELETE rule filtered by an object attribute rejects deletion of matching objects.
Current Behavior
DELETE attaches only the container id and the object id. The attribute filter does not match, the table falls through to the default allow, and the object is deleted.
Steps to Reproduce (for bugs)
- Create a container with a public basic ACL.
- Put two objects. Give one the attribute classified=secret.
- As the container owner, set an eACL that denies GET, HEAD, SEARCH, and DELETE for others when classified equals secret.
- From a non-owner wallet, DELETE the object with classified=secret.
- The delete succeeds. A following GET reports that the object is already removed (code 2052).
- 主要言語
- Go
- スター
- 37
- フォーク
- 56
- 平均マージ
- 1日 21時間
- マージ済み PR(30日)
- 46
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nspcc-dev/neofs-node のほかの issue
-
bug hal:proposed neofs-storage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nspcc-dev/neofs-node#4325 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
hal:proposed I4 neofs-storage S3 security U4
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
nspcc-dev/neofs-node#4280 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
nspcc-dev/neofs-node#4339 ·
メンテナーはふだん 1 日以内に返信
-
enhancement I3 neofs-storage performance S3 U3
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
nspcc-dev/neofs-node#4337 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug neofs-storage
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
nspcc-dev/neofs-node#4336 ·
メンテナーはふだん 1 日以内に返信
nspcc-dev/neofs-node の issue をすべて見る
似ている issue
-
Add iterate GmbH domains to a dedicated list and include it in company and developer categoriesオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
v2fly/domain-list-community#4307 ·
メンテナーはふだん 1 日以内に返信
-
notify: voice_queue rows are deleted only at startup, so a hub that stays up grows it without boundオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
mattabate/life-distributable#232 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
projectdiscovery/cdncheck#554 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
openbao/openbao-plugins#170 ·
メンテナーはふだん 1 日以内に返信