Page 1 of 1

custom menu options

Posted: 10 Aug 2006, 20:56
by atomoid
I've added some menu items to the Mantis menu using the "$g_main_menu_custom_options" variable in the "config_inc.php" file.

For instance one of my menu entries is something like this:

Code: Select all

...
array("bumblebee FTP", REPORTER, 'ftp://bumblebee.ftpsite.net/" target="_blank')
...
Its great to filter it by user permissions ('Reperter'), but what i want to do is make this only visible to those users who are actually added to the project in question: "bumblebee", since the menu is otherwise irrelevant. I want to make it so that users who arent added to the project wouldnt see the menu item.

Might there be a provision already in Mantis to filter in this fashion?

Thanks in advance for any tips or caveats...