[BUG] Export-PnPListToSiteTemplate doesn't export token for default RoleDefinitions
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu từ việc triển khai cmdlet Export-PnPListToSiteTemplate và theo dõi cách các quyền của danh sách tùy chỉnh tuần tự hóa các giá trị RoleDefinition. Tái hiện sự cố với một danh sách sử dụng RoleDefinition tích hợp sẵn, sau đó xác minh rằng mẫu đã xuất sử dụng mã thông báo roledefinition mong đợi thay vì tên đã bản địa hóa.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Reporting an Issue or Missing Feature
When I export a list with custom permissions no token for default RoleDefinition is set for the RoleDefinition attribute
<pnp:Security>
<pnp:BreakRoleInheritance CopyRoleAssignments="false" ClearSubscopes="false">
<pnp:RoleAssignment Principal="{associatedownergroupid}" RoleDefinition="Lezen" />
</pnp:BreakRoleInheritance>
</pnp:Security>
Expected behavior
When I export the list I want to get the token for default RoleDefinition. See below
<pnp:Security>
<pnp:BreakRoleInheritance CopyRoleAssignments="false" ClearSubscopes="false">
<pnp:RoleAssignment Principal="{associatedownergroupid}" RoleDefinition="{roledefinition:Reader}" />
</pnp:BreakRoleInheritance>
</pnp:Security>
Actual behavior
When I export a list with custom permissions no token for default RoleDefinition is set for the RoleDefinition attribute
<pnp:Security>
<pnp:BreakRoleInheritance CopyRoleAssignments="false" ClearSubscopes="false">
<pnp:RoleAssignment Principal="{associatedownergroupid}" RoleDefinition="Lezen" />
</pnp:BreakRoleInheritance>
</pnp:Security>
Steps to reproduce behavior
Run the Export-PnPListToSiteTemplate cmdlet on a list with custom permissions with built in RoleDefinition
What is the version of the Cmdlet module you are running?
2.4.0
Which operating system/environment are you running PnP PowerShell on?
- Windows
- Linux
- MacOS
- Azure Cloud Shell
- Azure Functions
- Other : please specify
- Ngôn ngữ chính
- C#
- Star
- 911
- Fork
- 407
- Merge trung bình
- 2 ngày 11 giờ
- Pull request đã merge (30 ngày)
- 13
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
- 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 pnp/powershell
-
[BUG] Incorrect parameter sets for Recursive parameter in the docs for Get-PnPFolderInFolderĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
pnp/powershell#5498 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[FEATURE] Get-PnPUser -CurrentĐang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
pnp/powershell#5476 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
pnp/powershell#5495 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
pnp/powershell#5492 · 6 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
pnp/powershell#5485 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của pnp/powershell
Issue tương tự
-
Playground selection bar: comes back after Apply or scrolling while focus is in the Markdown paneĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
sillsdev/SIL.TextEditing#175 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs attention untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet#3666 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
MicrosoftLearning/eShopOnWeb#466 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
stryker-mutator/stryker-net#3974 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
Maintainer thường phản hồi trong vòng 1 ngày