Separate folder/file permission check as new lib
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Review pull request #1690 to understand the existing folder permission check, then inspect the crate layout for where reusable permission validation belongs. The proposed work must cover machine and user scopes and file as well as folder checks; done means those cases are validated according to the stated write permission rules.
索引モデルが issue の本文から書いたものです。
説明
Summary of the new feature / enhancement
The code in https://github.com/PowerShell/DSC/pull/1690 implements a folder permission check to see if it's considered secure. We should pull that out as a separate crate lib as I imagine it'll likely be reused in future resources for similar purpose.
Proposed technical implementation details (optional)
- Extend the API to validate both machine scope and user scope permissions
- machine only allows administrators/root to have write permissions
- user scope allows administrators/root to have write permissions in addition to the current security context
- Allow the API to validate files in addition to folders (or ideally a file check also implicitly checks the containing folder)
- 主要言語
- Rust
- スター
- 541
- フォーク
- 78
- 平均マージ
- 2日 22時間
- マージ済み PR(30日)
- 17
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PowerShell/DSC のほかの issue
-
Failure to parse a resource manifest is logged as INFO instead of WARN対応中かも @SteveL-MSFT が 3 日前に担当しました。 オープンIssue-Bug Need-Review
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
PowerShell/DSC#1765 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
Tracing categories対応中かも @michaeltlombardi が 5 日前に担当しました。 オープンArea-OpenTelemetry Issue-Enhancement Needs Triage
PowerShell/DSC#1767 · リアクション 1 件 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
Issue-Enhancement Needs Triage
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
PowerShell/DSC#1763 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Hardening with dsc 3 ?対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンIssue-Enhancement Needs Triage
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
PowerShell/DSC#1755 · コメント 7 件 ·
メンテナーはふだん 2 日以内に返信
-
Issue-Enhancement Needs Triage
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
PowerShell/DSC#1750 · コメント 3 件 ·
メンテナーはふだん 2 日以内に返信
似ている issue
-
area/tools bug session-analysis
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
nix-community/fenix#262 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
GabrieleLozupone/kokon#41 ·
メンテナーはふだん 1 日以内に返信
-
Small glitchオープンpriority: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
storytold/photocraft#9538 ·
メンテナーはふだん 1 日以内に返信
-
bug P2 rust
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信