SACRAMENTO ­— A bipartisan legislative panel on Wednesday unanimously authorized a wide-ranging audit of the judiciary’s administrative and spending practices, handing the Alliance of California Judges and their court labor allies a political victory.

For months, the Alliance and labor groups have lobbied lawmakers for an investigation into judicial branch finances, claiming the Judicial Council and Administrative Office of the Courts have not suffered the same levels of layoffs and cutbacks endured by trial courts in recent years.