FILE - In this Nov. 18, 2011 file photo, University of California, Davis Police Lt. John Pike uses pepper spray to move Occupy UC Davis protesters while blocking their exit from the school's quad in Davis, Calif. The task force investigating the incident was scheduled to release its findings and recommendations Tuesday March 6, 2012. But it decided to delay the move Monday after learning the officers' union plans to seek a court order to halt the report's public disclosure. (AP Photo/The Davis Enterprise, Wayne Tilcock, File)

A judge temporarily barred UC on Tuesday from releasing a widely anticipated report of its investigation into the Nov. 18 pepper-spraying of student protesters by campus police.

Videos of the protest at UC Davis went viral, including now-infamous footage of one officer pacing before a line of huddled students for about 15 seconds as he coats them with the chemical irritant.

The visual record of officers in riot gear jabbing, spraying and yanking students prompted condemnation from around the world, as well as a lawsuit and calls for Chancellor Linda Katehi's resignation. Two officers and the chief of the campus police remain on paid leave.

The incident prompted the University of California to form an independent task force led by former state Supreme Court Justice Cruz Reynoso. The task force's job, UC President Mark Yudof said at the time, was to take a "fair and uncompromising look at what happened" and make recommendations.

The Reynoso report was to be released Tuesday. But the police union filed a last-minute objection in court, citing a state law that protects the confidentiality of peace officers' personnel records, including "complaints or investigations of complaints" about events while they are on duty.

The report violates the law by naming officers and including "negative comments" about them, said John Bakhit, an attorney for the labor union of about 250 University of California police officers, including the 40 or so assigned to the Davis protest. The law doesn't say officers can't be named, but it bars disclosure of any information considered "an unwarranted invasion of personal privacy."

Judge Evelio Grillo cited the law, California Penal Code sections 832.7 and 827.8, in the temporary restraining order that he issued Tuesday in Alameda County Superior Court.

"We're happy that the judge is at least taking the time to ensure that no confidential information is unlawfully disseminated," Bakhit said.

The union's request for the restraining order named John Pike, the officer seen in the UC Davis video spraying demonstrators. Pike's name has been anything but secret. Mocked and vilified on the Internet, he had to change his phone number and leave home when his address went public. Other officers in the legal petition are referred to by the anonymous designations "Roe" and "Doe."

Bakhit, who had not seen the report as of Tuesday, said the union's effort to censor portions of it were not an attempt to keep officers from being disciplined.

He pointed to a separate, internal police investigation. That report won't be made public. But its basic findings, such as whether police used excessive force, can be revealed, Bakhit said.

Meanwhile, UC officials said they would fight to reveal the full report, names and all.

"We want to regain the confidence of our community and the public," said Charles Robinson, general counsel for UC.

He said the confidentiality protections cited by the police union "don't apply to this kind of investigation."

Katehi, the UC Davis chancellor who requested the investigation, said she was "tremendously disappointed by this delay."

What happened on Nov. 18 "was an awful moment for the campus, and it was an awful moment for the police," said UC Davis spokesman Barry Shiller. He said campus officials want the "fullest, fairest, most complete accounting" possible.