The Preventing a Patronage System Act would prevent the White House, as the Trump administration proposed, from moving federal jobs outside the competitive service without approval from Congress.