Add exception handling around resource ancestry
jonathan-greig opened this issue · 0 comments
jonathan-greig commented
When querying resource ancestry for an instance it will be a common scenario that you will only have permissions on the project but not the folder or organisation. When GetResource is called on these resources it will raise an exception.
It would be preferable to handle this exception and just return whatever ancestry information can be collected e.g. maybe can only return organisation ID but not name.