Have (someone) in one’s pocket

To have control over someone.

The large union has the city mayor in their pocket.