This post was also published in today's Chicago Sun-Times. — Ed.

Sen. Barack ObamaBarack Hussein ObamaAfter Dems stood against Pompeo, Senate’s confirmation process needs a revamp ‘Morning Joe’ host: Trump tweeting during Barbara Bush funeral ‘insulting’ to US Trump and Macron: Two loud presidents, in different ways MORE's (D-Ill.) announcement that he would support the compromise bill providing court and congressional supervision of the president's Terrorist Surveillance Program (TSP) and immunity for certain telecom companies that cooperated with it has led to a barrage of criticism from his "netroot" supporters on his campaign website and in much of the liberal blogosphere.

But the senator's position is not only correct on the merits from a pro-civil liberties and -privacy rights perspective. It also provided the senator an important chance to demonstrate his "Sister Souljah moment."

The latter phrase is a reference to the time when then-Gov. Bill ClintonWilliam (Bill) Jefferson ClintonFeehery: The problem with the Dem wave theory After Dems stood against Pompeo, Senate’s confirmation process needs a revamp Support for Trump reelection mirrors Obama, Clinton in first terms: Gallup MORE, in a defining moment early in his presidential campaign in 1991, stood up to the black rap star before a black audience for the anti-white attacks in some of her lyrics. The phrase has since become a metaphor for a Democrat showing the political courage to stand up to his or her liberal-left base, rather than pandering to it.

Sen. Obama's change of position has angered some of his more liberal supporters — but, I submit, only because they don't appreciate the significant legal restrictions placed on the administration's conduct of the TSP by this legislation.

The compromise bill was essentially crafted by leading liberals in the House who see no inconsistency between civil liberties and privacy rights and protecting America from another attack on the order of Sept. 11, 2001.

The compromise bill would provide strict supervision by the special FISA Court of all intelligence agency anti-terrorist surveillance activities, with strict time limits on renewal of court orders. It would require written findings and accountability by the Justice Department and individual warrants and court orders if any U.S. citizen is involved, directly or indirectly, in the surveillance. And importantly, it expands congressional oversight of the program, including the House and Senate Judiciary committees as well as the Intelligence committees in both chambers.

Most of the liberal opposition concerns the provision of the legislation that would allow immunity from civil cases filed against the telecom companies that cooperated with the TSP and turned over customer data. Concern about such a precedent is understandable. Ideally, it should not be a defense to violating privacy rights that a company uncritically chose to rely on bum advice from government officials. Some telecom companies courageously refused to cooperate because they refused to accept such advice.

But, on balance, the value of effecting immediate strict legal and congressional supervision of the TSP should outweigh concerns about such a precedent — especially since the legislation grants immunity only to those companies that can prove to a court of law that they relied in good faith on governmental advice.

No doubt Sen. Obama has felt political pain to be attacked publicly by his most ardent supporters. But the benefit is that he has reminded voters that, as president, he would be more committed to the "solutions" business than to yield to the pressure to prove his ideological purity to his party's base. Many of the swing voters who will decide the election — soft Democrats, independents and moderate Republicans — have been waiting to see if Sen. Obama can resist such pressure and follow this approach. Now they have a good example that the answer is:

Yes, he can.

Mr. Davis, former special counsel to President Clinton from 1996-98, served in 2006-07 on President Bush's five-member Privacy and Civil Liberties Oversight Board, and thus was fully briefed and "read into" the TSP. He previously supported Sen. Clinton and is now supporting Sen. Obama for president.