How to Hide Buttons
Disable and Hide the button to send mail in bug window for users that not belong to "TDAdmin" group.
Insert of code in "EnterModule" Sub to hide the button in Defect Module for no TDAdmin users.
Implementation on the Product
Implementation is quite easy. Inside the Common Script part of the Script Editor go to the EnterModule Sub and ask if the Module is the one on whom you want to hide the button (Defect in our case). If user don't belong to TDAdmin group then hide the button. To do this I work on the Actions object.
In this case the action call "act_SendByEmail"
On Error Resume Next
if Active Module = "Defects" And _
Actions.Action("act_SendbyEmail").Visible = False
On Error GoTo 0