Currently in MiddlewareResultHandler.cs, we simply return 404s for any fail case. We should revise this to pass the correct authz result through to the controllers.
Affected Functionality
The error response codes returned by controllers will be changed.
This means documentation on controller actions + ProducesResponseType attributes will need to be changed as well.
TL;DR: don't just return 404s for everything.
Currently in MiddlewareResultHandler.cs, we simply return 404s for any fail case. We should revise this to pass the correct authz result through to the controllers.
Affected Functionality