Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Separate folder/file permission check as new lib

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

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

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
security

調査の方向性

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 の本文から書いたものです。

説明

Issue-Enhancement Needs Triage
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

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

PowerShell/DSC のほかの issue

PowerShell/DSC の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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