be in (one's) good graces
To be in one's favor; to have earned one's approval or regard. John's been in my good graces ever since he helped get me out of debt. I was definitely not in Mary's good graces for a while after I lost her cat.
be in somebody’s good ˈgraces
(formal) have somebody’s approval and be liked by them: Having bought them all dinner, he is now firmly in their good graces.