Hi guys,
I would like that the "viewers" can see all the issues reported and assigned to anybody, not only the "assigned to me". So, I would like to hide "my_view_page.php". The "viewer" user has a role of supervisor in our company, so they will need to download the excel reports and "print issues". In other words, they are not going to use this page and they asked to us for hiding it.
Thanks for your help.
How can I hide the "my_view_page.php" page?
Moderators: Developer, Contributor
Re: How can I hide the "my_view_page.php" page?
Since there's no config option to disable this page (as far as I know), you can simply comment out the relevant line. For mantis 1.2.19 change:
to
That's line 767 in ./core/html_api.php (function print_menu()). Note that you have to redo this change, since it will of course disappear once you update to a newer mantis version.
Code: Select all
# My View
$t_menu_options[] = '<a href="' . helper_mantis_url( 'my_view_page.php">' ) . lang_get( 'my_view_link' ) . '</a>';
Code: Select all
# My View
# $t_menu_options[] = '<a href="' . helper_mantis_url( 'my_view_page.php">' ) . lang_get( 'my_view_link' ) . '</a>';