How to hide buttons on groups?

Who knows how to hide the standard buttons on the group page?

I want top hide the "send consent email" button for most of the CRM users. (or make it available only for a specific user profile)

Could we hide it from with a js in the custom.js folder? How?

Tanks for your help.

Jerome