A lot of people criticize her but the truth of the matter is she behaved the way she did because that was what Trump wanted.
It won't be any different for the next AG. Trump will tell them to do illegal/unconstitutional stuff and when they predictably lose in court for those things they will be shown the door.