CF: Routes List: Filter by org breaks when user is an org auditor #4343
Closed
Description
Setup - User is an org auditor in an org that contains spaces with apps and routes (user has no other roles in org (other the 'user') or it's spaces)
- Org auditors can see a route that's assigned to an application which is in a space. However they cannot see the space or it's application
- in the routes list we provide a filter by organisations drop down
- this filter works with
cf.helpers.ts
cfOrgSpaceFilter
- filter will throw an exception at
e.entity.space.entity.organization_guid
, as the route does not contain a space object