When added, set or queried, both the name & value of safe permissions is now returned as a nested property under Permissions.
Previously, only the name of any permissions configured with a value of $true was returned, contained as an array of the Permissions property.
Update allows integer value of RequestsAuthorizationLevel permission to be returned.
Test Plan
Pester tests updated to check that expected boolean or int permission property values
Summary
Changes
Permissions
output of:Get-PASSafeMember
Set-PASSafeMember
Add-PASSafeMember
This PR fixes the following bug:
When added, set or queried, both the name & value of safe permissions is now returned as a nested property under
Permissions
. Previously, only the name of any permissions configured with a value of$true
was returned, contained as an array of thePermissions
property. Update allows integer value ofRequestsAuthorizationLevel
permission to be returned.Test Plan
Pester tests updated to check that expected
boolean
orint
permission property valuesRelated issues
275