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