Schools told not to bar learners