Put someone in their place

Meaning: To make someone understand that they are behaving improperly or exceeding their authority.

Example: The manager had to put the employee in his place after the rude comment.