Disable menu for every panel for viewers only

I would like to remove the context menu panel for view-only users. I am talking about the three dots menu that you can find on the top right corner of each panel:
Immagine 2023-09-05 165936

As this is quite cumbersome for users with viewer role. Moreover, it’s not very fancy to let users be able to inspect or share a specific panel.
I was wondering: is it possible to disable the menu panel from the dashboard only for view-only users?