Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- Fixed issue with `Get-PnPChangelog -Nightly` throwing an error [#5070](https://github.com/pnp/powershell/pull/5070)
- Fixed spelling errors in Privileged Identity Management cmdlets: renamed `Get-PnPPriviledgedIdentityManagementRole`, `Get-PnPPriviledgedIdentityManagementEligibleAssignment`, and `Enable-PnPPriviledgedIdentityManagement` to use correct spelling "Privileged". Old cmdlet names remain functional as aliases for backward compatibility. [#5119](https://github.com/pnp/powershell/pull/5119)
- Fixed Typos on `Move-PnPFolder, Get-PnPPowerPlatformSolution, Get-PnPPowerPlatformCustomConnector, Get-PnPPowerApp, Get-PnPPlannerPlan, Get-PnPContainer` cmdlets [#5124](https://github.com/pnp/powershell/pull/5124)
- Fixed issue with `Set-PnPSite -HidePeoplePreviewingFiles $true` and `Set-PnPSite -HidePeopleWhoHaveListsOpen $true` added missing properties [#5003](https://github.com/pnp/powershell/issues/5003)

### Removed

Expand Down
4 changes: 4 additions & 0 deletions src/Commands/Model/SPOSite.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ public class SPOSite
public SiteUserInfoVisibilityPolicyValue OverrideBlockUserInfoVisibility { get; set; }
public bool OverrideSharingCapability { get; set; }
public bool AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled { get; set; }
public bool HidePeoplePreviewingFiles { get; set; }
public bool HidePeopleWhoHaveListsOpen { get; set; }

#endregion

Expand Down Expand Up @@ -202,6 +204,8 @@ public SPOSite(SiteProperties props, bool? disableSharingForNonOwnersStatus)
OverrideSharingCapability = props.OverrideSharingCapability;
OverrideBlockUserInfoVisibility = props.OverrideBlockUserInfoVisibility;
AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled = props.AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled;
HidePeoplePreviewingFiles = props.HidePeoplePreviewingFiles;
HidePeopleWhoHaveListsOpen = props.HidePeopleWhoHaveListsOpen;
}
}
}
4 changes: 3 additions & 1 deletion src/Commands/Site/SetSite.cs
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,8 @@ private bool IsTenantProperty() =>
BlockDownloadPolicy.HasValue ||
ExcludeBlockDownloadPolicySiteOwners.HasValue ||
ParameterSpecified(nameof(ExcludedBlockDownloadGroupIds)) ||
ListsShowHeaderAndNavigation.HasValue;
ListsShowHeaderAndNavigation.HasValue ||
HidePeoplePreviewingFiles.HasValue ||
HidePeopleWhoHaveListsOpen.HasValue;
}
}
Loading