seminar_id)) { throw new RecordNotFoundException('Could not find course of cycle.'); } $user = $this->getUser($request); if (!CourseAuthority::canShowCourse($user, $course, CourseAuthority::SCOPE_EXTENDED)) { throw new AuthorizationFailedException(); } return $this->getContentResponse($entry); } }