School administrators seem to be convinced that they can violate the civil rights of students and faculty under the guise of preventing disruptions in the learning environment. Their ability to do so is VERY LIMITED, but they have gotten away with it in some cases where individuals have failed to exercise their rights as citizens. The responsible thing to do is to always stand up to authorities any time that you believe that your rights are being violated. Remember that Ed Code is often inappropriately stretched to apply to situations that it doesn't apply to and that it is trumped by federal statutes protecting your rights.
Keefe sued the school administrators under 42 U.S.C. §1983, a federal statute that gives citizens a right to sue state government institutions or officials for violations of individual rights under the federal Constitution. He argued that the expulsion violated his free speech and due process rights under the First and Fourteenth Amendments. A federal trial judge in Minnesota disagreed and ruled in favor of the school administrators.
Typically local judges are in bed with local school officials and so this is no surprise, but wait until it goes up to the next level! Someone's going to learn a lesson about reality and it's not going to be pleasant for the corrupt school officials or the corrupt judge!
LINK: https://www.eff.org/deeplinks/2014/11/eff-joins-amicus-brief-support-student-speech-social-media