Separate folder/file permission check as new lib
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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)
- Ngôn ngữ chính
- Rust
- Star
- 541
- Fork
- 78
- Merge trung bình
- 2 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 17
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của PowerShell/DSC
-
Failure to parse a resource manifest is logged as INFO instead of WARNCó thể đã có người làm @SteveL-MSFT đã nhận 3 ngày trước. Đang mởIssue-Bug Need-Review
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
PowerShell/DSC#1765 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Tracing categoriesCó thể đã có người làm @michaeltlombardi đã nhận 5 ngày trước. Đang mởArea-OpenTelemetry Issue-Enhancement Needs Triage
PowerShell/DSC#1767 · 1 reaction · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Issue-Enhancement Needs Triage
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
PowerShell/DSC#1763 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Hardening with dsc 3 ?Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởIssue-Enhancement Needs Triage
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 12/100
PowerShell/DSC#1755 · 7 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Issue-Enhancement Needs Triage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
PowerShell/DSC#1750 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của PowerShell/DSC
Issue tương tự
-
Small glitchĐang mởpriority: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
storytold/photocraft#9538 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug P2 rust
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
jscott3201/rusty-bacnet#2085 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:tag area:tag---json---markdown--n bug factory:dogfood factory:triaged persona:scripter platform:linux-cloud priority:p3 type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
gitbutlerapp/grit#1940 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Inconsistent case in names for Windows installation packages compared to all other assetsCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởarea:ui bug in progress needs-triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
bherbruck/solvecraft#6769 · 2 bình luận ·