Make sure a user can view a course based on the course's status