Hide View Issues button on the side bar

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
PNV1983
Posts: 8
Joined: Mar 12, 2018 10:46 am

Hide View Issues button on the side bar

Post by PNV1983 » Mar 12, 2018 3:40 pm

Hello, i need to hide "View Issues" button on the side bar from REPORTER Profile.

I try $g_view_all_bug_threshold = UPDATER; in config_inc.

Thanks
PabloNV

atrol
Site Admin
Posts: 7688
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: Hide View Issues button on the side bar

Post by atrol » Mar 12, 2018 3:51 pm

PNV1983 wrote:
Mar 12, 2018 3:40 pm
I try $g_view_all_bug_threshold = UPDATER;
Can't work as this option does not exist
Please use Search before posting and read the Manual

rkarmann
Posts: 66
Joined: Nov 24, 2017 5:00 am
Location: Lille, France

Re: Hide View Issues button on the side bar

Post by rkarmann » Mar 13, 2018 7:21 am

If you really want to do it, then consider a plugin. You can follow this quick tutorial.

Menu items are printed into an <ul> element, so it might be easy to implement a Jquery function that hide the view_issue page link if user has reporter access level (see access_api and authentication_api).
Currently working on a wiki-based plugin for MantisBT 2.X. If you'd like to test it, contact me or see the plugin section.

PNV1983
Posts: 8
Joined: Mar 12, 2018 10:46 am

Re: Hide View Issues button on the side bar

Post by PNV1983 » Mar 13, 2018 7:47 am

rkarmann wrote:
Mar 13, 2018 7:21 am
If you really want to do it, then consider a plugin. You can follow this quick tutorial.

Menu items are printed into an <ul> element, so it might be easy to implement a Jquery function that hide the view_issue page link if user has reporter access level (see access_api and authentication_api).
Thanks rkarmann
PabloNV

Post Reply