Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

Mask User tab in top menu

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['users'] = 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 ?

Sign In or Register to comment.