In the “modern” Jewish Shul a rabbi is given a contract to work for a certain amount of years for a particular shul and then must have their contract be renewed if they are to continue working at that Shul. This contract basis makes it difficult for the Rabbi to bring up significant points that might be controversial especially if it affects or offends those in leadership position at this Shul. I believe if we truly want to understand the faith this practice should be stopped.
A rabbi should build a Shul around their core values and those that support those values should join his/her Shul. If a rabbi violates certain moral principals (stealing, drug abuse, sexual abuse) they should be dismissed from office but only those specific issues. Once that Rabbi moves on then the next Rabbi serves with respect to the core values but could add or enhance those values as well. If members of the congregation don’t like the direction the new Rabbi is taking the Shul they can leave to form their own Shul and adopt a new rabbi.