gh-gei icon indicating copy to clipboard operation
gh-gei copied to clipboard

Better handling of denied permissions in `ado2gh inventory-report`

Open dylan-smith opened this issue 2 years ago • 0 comments

Even if the user of ado2gh inventory-report is a org admin, if they have been explicitly denied permissions on a repo the inventory-report command will fail (and exit) when it tries to retrieve the data for that repo.

image

We should detect this particular error case, skip the repo, but output a list of repos (as a warning) at the end of the log which were unable to be inventoried.

dylan-smith avatar Jan 30 '23 17:01 dylan-smith