One of the most practical virtues I have learnt from spirituality is that tolerance is power, it is not something reserved for the meek.
It takes a big person to not lash out at someone being mean over messages or not taking accountability of their work or someone just having a bad day.
By all means, no one is allowed to cross your boudaries. But if keeping quiet helps our work goal as well as help you have a light day, it is worth the effort.
Like I said, tolerance is power. And it takes a lot of practice and meditation to overcome that power. However, the opposite is absolutely not worth it.