Well, you are party correct. But their was a policy in the church prohibiting blacks from the priesthood.<quoted text>During the early years of the LDS movement, black people were admitted to the church, and there was no record of a racial policy on denying priesthood, since at least two black men became priests, Elijah Abel and Walker Lewis. When the Mormons migrated to Missouri they encountered the pro-slavery sentiments of their neighbors. Joseph Smith upheld the laws regarding slaves and slaveholders, but remained abolitionist in his actions and doctrines.
Beginning in 1842, after he had moved to free-state Illinois, Smith made known his increasingly strong anti-slavery position. In 1842 he began studying some abolitionist literature, and stated, "it makes my blood boil within me to reflect upon the injustice, cruelty, and oppression of the rulers of the people. When will these things cease to be, and the Constitution and the laws again bear rule?" In 1844 Joseph Smith wrote his views as a candidate for President of the United States. The anti-slavery plank of his platform called for a gradual end to slavery by the year 1850. His plan called for the government to buy the freedom of slaves using money from the sale of public lands
You cherry picked what was the policy of the 'early church' and deceptively applied it to the entire history of the church.
I cut and pasted this from the same site you posted.
After Smith's death in 1844, Brigham Young became president of the main body of the church, and led the Mormon Pioneers to what would become the Utah territory. Like the majority of Americans at the time, Young (who was also the territorial governor) promoted discriminatory views about black people. On January 16, 1852 Young made a pronouncement to the Utah Territorial Legislature stating that "any man having one drop of the seed of [Cain]... in him cannot hold the priesthood and if no other Prophet ever spake it before I will say it now in the name of Jesus Christ I know it is true and others know it."
A similar statement by Young was recorded on February 13, 1849. The statement — which refers to the Curse of Cain — was given in response to a question asking about the African's chances for redemption. Young responded, "The Lord had cursed Cain’s seed with blackness and prohibited them the Priesthood."