Hide View Issues button on the side bar

General discussion of Mantis.

Moderators: Developer, Contributor

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

Hide View Issues button on the side bar

Post by PNV1983 »

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: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Hide View Issues button on the side bar

Post by atrol »

PNV1983 wrote: 12 Mar 2018, 20:40I 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: 24 Nov 2017, 10:00
Location: Lille, France

Re: Hide View Issues button on the side bar

Post by rkarmann »

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: 12 Mar 2018, 15:46

Re: Hide View Issues button on the side bar

Post by PNV1983 »

rkarmann wrote: 13 Mar 2018, 12:21 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