Skip to content

Commit 31c69c7

Browse files
authored
Merge pull request #499 from KelvinTegelaar/dev
[pull] dev from KelvinTegelaar:dev
2 parents 4b475d8 + 4bafb2c commit 31c69c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/CIPPCore/Public/Authentication/Get-CippAllowedPermissions.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,5 +187,5 @@ function Get-CippAllowedPermissions {
187187
}
188188

189189
# Return sorted unique permissions
190-
return ($AllowedPermissions | Sort-Object -Unique)
190+
return ($AllowedPermissions | Where-Object { $_ -notmatch 'None$' } | Sort-Object -Unique)
191191
}

0 commit comments

Comments
 (0)