In the summary view, how can I prevent users from seeing other user's emails?

I am using the Sugar CRM community edition 6.5.14. I have given all users viewing rights to all contacts and opportunities. Under the history section, they can see what emails have been sent, but they can't click through and read the emails from others, for privacy reasons of our customers. I can perfectly manage this with the role settings.

However, if they click the View summary button (in the History section), they can read through all the emails, also the ones sent or imported by others. Is there a way to prevent this? Or, as an alternative, can I remove the View summary button?

Parents
  • Hi Alfred Holland

    It is possible to remove such button.

    You need to create an extended Layoutdefs.

    Inside this layoutdefs you can remove the button:

    <?PHP
    unset($layout_defs[<ModuleName>]['subpanel_setup']['history']['top_buttons'][2]);
    

    Kind regards

    André Lopes
    Lampada Global
    Skype: andre.lampada
Reply
  • Hi Alfred Holland

    It is possible to remove such button.

    You need to create an extended Layoutdefs.

    Inside this layoutdefs you can remove the button:

    <?PHP
    unset($layout_defs[<ModuleName>]['subpanel_setup']['history']['top_buttons'][2]);
    

    Kind regards

    André Lopes
    Lampada Global
    Skype: andre.lampada
Children
  • Thank you. I managed to resolve it with your code!

    For those less experienced: the code is missing ?> at the end to close off the php.

    And I had to do this for both Contacts and Opportunities since the summary is displayed on many places. Just had to replace <Modulename> in the code and make multiple extended Layoutdefs (follow the link for more instructions)