Minor change: when the shifts capacity is locked, so that students can
not enroll, the teacher should be able to define groups for it, so that
it can be open only for them