have in the palm of one's hand
have in the palm of one's hand {v. phr.}
To completely control; have a project finished, all wrapped up.
Our boss felt that if he could calm his critics he would soon have the entire factory in the palm of his hand.
Categories:
Source: A Dictionary of American Idioms