Page 1 of 1

Hide View Issues button on the side bar

Posted: 12 Mar 2018, 20:40
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

Re: Hide View Issues button on the side bar

Posted: 12 Mar 2018, 20:51
by atrol
PNV1983 wrote:
12 Mar 2018, 20:40
I try $g_view_all_bug_threshold = UPDATER;
Can't work as this option does not exist

Re: Hide View Issues button on the side bar

Posted: 13 Mar 2018, 12:21
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).

Re: Hide View Issues button on the side bar

Posted: 13 Mar 2018, 12:47
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