Board permits student caught with gun at school to continue enrollment