左右逢源

Etymology
From  (《孟子·離婁下》):

Idiom

 * 1)  to be able to achieve success one way or another; to have everything going one's way
 * 2)  to butter one's bread on both sides; to be tactful and win advantage from both sides