This can only be done at the section level, when the school is creating sections. At this time it is not possible to constrain at the course level.