we need to hide Employees module so non-administrators cannot have access to this information. This module is not controled by Roles so I cannot do it this way. Please help.
we need to hide Employees module so non-administrators cannot have access to this information. This module is not controled by Roles so I cannot do it this way. Please help.
Hello,
Create a file custom/include/globalControlLinks.php
Add following code,
PHP Code:<?php
global $current_user;
if(!$current_user->is_admin)
unset($global_control_links['employees']);
?>
Thumbs up.
Skype ID - david__boris
SugarForge Projects:
WYSIWYG now in studio!(Version 1.1 is out now!)
Sugar Feeds on your personalized home pages like iGoogle, My Yahoo!, etc.
Fab Tools! > Dashlet Not Followed Opportunities for past six Months
thanks I'll try
Thank!!
I was trying to achieve this too, the script works like a charm!!
Jose A. Fuentes
IT Specialist, Project Manager & SugarCRM Consultant
Querétaro | Querétaro | Mexico
p: +52 442-364-7187
e: jafu.85@gmail.com
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks