Nobody's questioning the legality. The question is whether it should be condoned.
Private censorship is legal, but IMHO it can be unethical, especially when the balance of power is so far askew. An employer firing or threatening to fire an employee for speaking can have a large chilling effect.