Are grandparents allowed to do what they want?

If no, how do you set healthy boundaries with them.

Ones that they won’t get offended by if it comes from you and not your partner (because they don’t respect my opinion 🙃)