Lawyer says schools can restrict Confederate flags