She knew the rules when she went to work for the school. Whether the school is right or wrong is not the point here. It’s a private school and they can do what they want.
Sounds like you believe in private property rights. According to the left, that’s “hatred”. Except of course when it comes to their private property.