The largest union representing federal workers sued the Trump administration Dec. 4 over a policy that bans doctors and other medical professionals in the Veterans Affairs Department from spending official work time on union business.

The Secretary of Veterans Affairs has broader authority over the working terms and conditions of doctors, dentists, optometrists, and other medical professionals relative to the VA’s other employees. But the American Federation of Government Employees says the law that governs labor relations in the federal...