The most prominent example of this is in 1 Samuel 8, Israel wants a king. Samuel goes to the Lord and asks of him and is told, no. He's also told to tell them all the evils that will befall them if they choose a king, he does so and Israel once again demands a king. In 1 Samuel 8:22 "And the Lord said to Samuel, Hearken unto their voice, and make them a king." He then uses a Urrim and Tummim to select a king. More latterly Joseph Smith bothered the Lord into letting Martin Harris borrow the 116 pages of translation manuscript. He was told no and Joseph wouldn't listen, so in the end God gave permission to Joseph, those pages were lost and Joseph had to suffer the consequences of that.
We NEED to learn that lesson, because by God the price was high, too bloody high! We as a church will be held accountable before the throne of God for the suffering it caused, and so we need to learn that lesson. Exclusion is never the answer. Love is. Only love.