Skip to content

Commit

Permalink
Merge pull request #174 from ClaudioESSilva/FixGet-RsCatalogItemRole-…
Browse files Browse the repository at this point in the history
…Recurse

Get-RsCatalogItemRole with -Recurse
  • Loading branch information
jtarquino authored Jun 1, 2018
2 parents e078384 + 71ceb64 commit 1524fda
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ function Get-RsCatalogItemRole

$parentType = $Proxy.GetItemType($Path)

$catalogItemRoles = New-RsCatalogItemRoleObject -Policy $parentPolicy -Path $Path -TypeName $parentType -ParentSecurity $false
$catalogItemRoles += New-RsCatalogItemRoleObject -Policy $parentPolicy -Path $Path -TypeName $parentType -ParentSecurity $false



if($Recurse -and $parentType -eq "Folder") {

$GetRsFolderContentParam = @{
Expand Down

0 comments on commit 1524fda

Please sign in to comment.