Hide "Monitored By:" filter list from reporters

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
kuhsay

Hide "Monitored By:" filter list from reporters

Post by kuhsay »

I want to hide all of usernames in the "Monitored By:" filter list unless you are an administrator. It seems I can use $g_show_monitor_list_threshold as described in the manual (http://www.mantisbt.org/manual/manual.p ... sholds.php), but this does not appear to have any effect. Am I using this variable correctly? I tried
$g_show_monitor_list_threshold = 90;
and
$g_show_monitor_list_threshold = DEVELOPER;
but neither worked.

I don't want my reporters knowing the other users on the site.

I found this bug report, but it hasn't been acknowledged so I'm not sure if I'm just using the feature incorrectly. http://www.mantisbt.org/bugs/view.php?id=8916
kuhsay

Re: Hide "Monitored By:" filter list from reporters

Post by kuhsay »

anyone?
deboutv
Posts: 507
Joined: 15 Jan 2007, 14:31
Location: La Ciotat, FRANCE
Contact:

Re: Hide "Monitored By:" filter list from reporters

Post by deboutv »

Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/

Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
kuhsay

Re: Hide "Monitored By:" filter list from reporters

Post by kuhsay »

The bug I originally reported should be fixed in 1.2.0a1 now. For those running 1.1.1, you can patch your code here: http://mantisbt.svn.sourceforge.net/vie ... threv=5204

Just delete the lines in red and add the lines in green. Worked for me.

As far as the bug deboutv reported, I believe that still exists.
ziohausam
Posts: 26
Joined: 24 Jul 2007, 08:04

Re: Hide "Monitored By:" filter list from reporters

Post by ziohausam »

Thanks v much

I really needed this solution
Post Reply