"Take liberties with" is a phrase that typically means to overstep boundaries or act inappropriately. Some synonyms for this expression include "cross the line," "push one's luck," "overstep one's bounds," "violate," "trespass," and "flout." These terms all imply that someone is not respecting rules or limits, or is acting in a way that is not acceptable. Depending on the context, other synonyms for "take liberties with" might include "abuse," "exploit," "manipulate," or "disregard." It's important to choose the right synonym depending on what precisely is meant by the original phrase, as well as the tone and register of the desired communication.