AnsweredAssumed Answered

Do not allow a role to send emails directly

Question asked by FCM FCM on Jun 1, 2015
Latest reply on Jun 2, 2015 by Dhaivat Naik
Working on 6.5.20

We want to forbid to a role send emails to leads. In order to do this, in the module email -> compose, I've changed the file "include/MVC/View/SugarView.php", I changed the funciton " _displayJavascript()", including some role control. This is working perfectly.

But when I try to do the same thing with quickcompose, from leads->activities->create task-> compose email. Doesnt work. I'm lost, I thought that was going to be changing the javascript "include/javascript/sugar_grp_quickcomp.js" but it is not working. 

Any ideas? Help!!!!