There's something resembling public accountability:

Iran’s top prosecutor said Monday that three judiciary officials had been suspended in connection with the mistreatment of detainees at a notorious holding center during the unrest that followed last year’s disputed presidential election, the semiofficial Fars news agency reported. Mistreatment at the holding facility, known as Kahrizak, prompted widespread outrage last year, especially after it emerged that the son of a leading conservative figure had been beaten to death there. Iran’s supreme leader, Ayatollah Ali Khamenei, ordered the center closed, and the government began an investigation...

Then again, the government hanged two activists for their "war against God" and jailed the leader of a website after he reported on abuses at Kahrizak. He has been sentenced to five years for "propaganda against the regime and gatherings aimed at damaging national security and public order."

So it's a case of "we have to sentence our own guys because they've embarrassed us and we also have to sentence the guys who told the world that our guys were doing embarrassing things"? The legal standard is not crime itself but how badly you've embarrassed the regime?

Iranian jurisprudence is confusing.