A federal judge has rejected much of a lawsuit challenging restrictions that Gov. Ron DeSantis and the Legislature placed on public-employee unions—but a fight will continue about a ban on deducting union dues from workers’ paychecks.

Chief U.S. District Judge Mark Walker last week issued an 80-page decision that largely sided with the state Public Employees Relations Commission, which is in charge of carrying out the controversial restrictions. The Republican-controlled Legislature and DeSantis approved the restrictions in 2023 and made revisions this year.