IMHO these are violations of Federal law. I don't know that either could be considered a "civil" right, since both actions were directed at organizations rather than individuals. Nonetheless, immoral, unethical, and IMHO illegal and unconstitutional.
I also thought it was interesting that, when the news about the IRS targeting first broke, the Obama team tried to ... (wait for it, it's coming) ... BLAME IT ON BUSH!