Jesus' teachings and conduct, as set forth in the New Testament, includes some admonitions about this subject. Although clearly the Ten Commandments includes the one "Thou Shalt Not bear false witness. . . . ", Jesus teaches his disciples to "Agree with thine adversary quickly whiles thou art in the way with him. . . .".
Another I would consider as possibly related is "Blessed is the peacemaker. . .", as well as negative injunctions like the one about sowing discord among brethren in OT lore. Paul teaches believers to accommodate the sensitivities and consciences of other believers by trying not to be offensive, at least not deliberately.
Another principle taught by Jesus was "Let your communication be yea, yea and nay, nay. . . ." in association with the teaching that we should not "forswear ourselves" but perform unto the LORD our oaths. I would take it that this means we should not put our acceptance by others, including bishops, ahead of personal integrity.
The injunction against "casting pearls before swine" generally refers to exposing ourselves by statements of our belief to the rude abuse of those who just won't appreciate them. Not that people are "swine" but sometimes we have about the same kind of understanding of one another.
It all adds up to using good sense when talking to others.
Getting back to Devlin's case, he reminds me of former President Spencer W. Kimball, who was seriously in love with a young woman he never married, and left a florid pack of letters in her possession attacking the beliefs of the LDS Church in the days of his youth.
Being married to a descendent of that lost love, and having an extensive family connection with the woman he did marry and knowing these people as family, gives me a sense of things that weighs heavily on the side of tolerance for those who have issues with the Church.
Joseph Smith taught that "Bad doctrine does not make a bad man".
It is a fact of our human condition that organized religions are centered on creeds or statements of beliefs which often are not sufficient statements of fact. When people find themselves needing to "move on" somehow past the supposedly settled tenets of the faith, they ask questions, and those among us who find such questions unsettling are prone to react in a way that will push the questioners out.
A guy like Dehlin, as I take the information I've seen, was perhaps a little too aggressive in pushing his preferred ideas. I could dig up scores of scriptures which would tend to indicate he was mistaken, and he is trying to play the part of a "progressive" advocate for a better future. He seriously believes he can help change things.
His case is inherently the same as Spencer W. Kimballs' case was with the girl he wanted to marry. Ultimately, he found a girl who agreed with his views, and in the process of time they became the eulogized standards of right faith and conduct for another generation of Mormons.
I didn't agree with Spencer when he was the "Prophet", and some folks wanted to excommunicate me. Some general authorities had their axes sharpened up and were impassioned to get me out of the Church. It took a moderate minded man named Spencer Kimball to stand up for me and defend me against them, saying I had the right to ask questions.
While in dealing with those elements he also said they had the right to give their answers to my issues, and stood up for their right to their own views as well, I found the graciousness of Spencer W. Kimball quite a balm for my wounds. The man was a peacemaker, and one who cared what "truth" is enough to ask questions and take his best principled stand in his own teachings.
I don't think folks who choose to take a course into GLBT lifestyle issues are on the path to happiness in eternity, but hey, Jesus apparently accepted as a fact of life that some men choose to be "eunuchs". It's just the fact that in a world view that puts a heterosexual marriage relation and procreation/propagation of the human race as a high first command of God, living in GLBT relations will not take you in that direction.
The critical issue in the Dehlin case is that made the stand that he was the superior, more enlightened principled man and he taught that current LDS doctrine was morally reprehensible. If Spencer W. Kimball didn't agree with his leaders, he at least held back from going out to specifically take them on, and his letters were his personal opinions, and not particularly revolutionary opinions. The LDS leaders today would not, I think, go out hunting down folks with opinions to take them out of the Church. You practically have to ask for that kind of attention. Actually, you have to make yourself so obnoxious you force them to take a stand in their own defense.
I had a companion when I was a missionary who organized some "Elders" into an oath-bound little club they called "The Resistance to the President", and for laughs specifically defied and disobey some "mission rules". When the President of the mission called him in to discipline him, he confessed he deserved his punishment.
Dehlin deserves his excommunication, and if he were an honest, principled believer in Mormonism, he would have to confess he deserved his excommunication. Until he does that, I think he is a seriously mistaken person lacking fundamental character attributes or virtues. The modern term "sociopath" applies to his state of mind. Well, if he does have the humility and caring for others to moderate that description, it is still going to be a fact in organized religions and other social institutions, even those with no belief in "God" like the Council of Foreign Relations, that these organizations will exclude the those individuals who rock the boat with such activities inimical to the basic tenets of those organizations.
No band of social progressives today would really be all that nice to someone who intends to take over their organizations and move them into a new direction. There would actually be some serious infighting for control of the groups. . ..