getUser($request), $course, Authority::SCOPE_BASIC)) { throw new AuthorizationFailedException(); } return $this->getContentResponse($course); } }