Skip to content
Merged
Changes from 1 commit
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
8 changes: 7 additions & 1 deletion tools/github/scripts/Validate-AzsdkCodeOwner.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,15 @@ if ($permission -eq "admin" -or $permission -eq "write") {
Write-Host "`t$([char]0x2713) $($permission) " -ForegroundColor Green
$hasPermissions = $true
} else {
Write-Host "`tx $($permission)" -ForegroundColor Red
Write-Host "`tx write" -ForegroundColor Red
}

# Write the other permissions organizations for the user, if
# verbose output is enabled.
Write-Verbose ""
Write-Verbose "Other Permissions:"
Write-Verbose "`t$($permission) (not required)"

# Validate the user and write the results.
$isValid = ($hasOrgs -and $hasPermissions)

Expand Down