Make ownership filter consistent between relink and rimport
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
- 技術スタック
- python
- 領域
- authorization, cli
調査の方向性
relink.py の所有者フィルタリングと rimport のディレクトリ走査を比較し、staging の所有者と呼び出し元ユーザーがどのように表現されているかに注目してください。両方のコマンドで所有者を確認すべきなのか、それともどちらも確認すべきでないのかを明確にし、そのうえで、公開と再リンクが別のユーザーのファイルを一貫して扱うことを確認してください。
索引モデルが issue の本文から書いたものです。
説明
As of #31, rimport walks directories to find files to publish with no regard for who owns the file. relink.py, on the other hand, still filters to just the owner. This is necessary, I think, because the rimport makes it so commands are run as the staging owner, and thus we would need special handling to check that ownership by the calling user is checked.
It may be acceptable to go either way on this: Both check ownership or neither does. It feels weird to have this obvious failure case possibly lead to situations where someone publishes someone else's file but then can't relink it, so I lean towards both checking.
- 主要言語
- Python
- スター
- 0
- フォーク
- 2
- 平均マージ
- 3日 2時間
- マージ済み PR(30日)
- 2
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ESMCI/inputdataTools のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
ESMCI/inputdataTools#30 ·
-
bug
ESMCI/inputdataTools#29 · 担当者 1 名 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
ESMCI/inputdataTools#26 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
ESMCI/inputdataTools#25 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
ESMCI/inputdataTools#24 ·
ESMCI/inputdataTools の issue をすべて見る
似ている issue
-
sponsored
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
Diaoul/subliminal#1382 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
-
triage/confirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
agentscope-ai/agentscope#2775 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100