Restricting them too much is a double edged sword because a lot of people use government work as a stepping stone even if they don't go to work for people they directly deal with. Making it too hard to find a job after can make good lawyers never go into public service because they couldn't get the cushy private gig afterwards.