getUser($request), $resource)) { throw new AuthorizationFailedException(); } return $this->getContentResponse($resource->files); } }