findInstanceWithRange($args['type'], $args['id']); if (!Authority::canShowCoursewareInstance($this->getUser($request), $instance)) { throw new AuthorizationFailedException(); } return $this->getContentResponse($instance); } }