- Edited
Hi,For an identified staff member I don't want him to see all the users. How can I do that ?In which program file do I need modify ?Thank's Chefkeks (thank's), tell me to look at the file : include/class.nav.php In this file, I found the function getTabs() on line 113 and I add this : if($this->staff == 'Name Username of agent') { // Don't add users tab } else { $this->tabs = array('desc' => __('Users'), 'href' => 'users.php', 'title' => __('User Directory')); }In the if condition i prefer to use department (something like $staff->getDept()) how to do that ?