Get help from other users here.
Moderators: Developer , Contributor
brunette
Posts: 9 Joined: 27 Jul 2005, 12:47
Location: France
Post
by brunette » 27 Jul 2005, 12:57
Hi,
I study actually Mantis ... for me it's the best BTS for the moment !!!
I work in an IT Enterprise in France and we would like to use Mantis.
But I have a problem ;-)
The testers and the reporters see the developer who is assigned to the request. I would like to hide this information.
How can I do ?
I see in config_defaults-inc.php
Code: Select all
# access level needed to view handler in bug reports and notification email
# @@@ yarick123: now it is implemented for notification email only
$g_view_handler_threshold = VIEWER;
Thanks for your help
vboctor
Site Admin
Posts: 1304 Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:
Post
by vboctor » 27 Jul 2005, 14:05
In the bug_view_page.php and bug_view_advanced_page.php:
- Search for Handler.
- Replace
Code: Select all
print_user_with_subject( $t_bug->handler_id, $f_bug_id );
With
Code: Select all
if ( access_has_bug_level( config_get( 'view_handler_threshold' ), $f_bug_id ) {
print_user_with_subject( $t_bug->handler_id, $f_bug_id );
} else {
if ( $t_bug->handler_id > 0 ) {
echo 'assigned';
} else {
echo 'not assigned';
}
}
You will also need to set $g_view_history_threshold to the appropriate threshold, otherwise, they will see the handler's name in the history.
Regards,
Victor
MantisConnect
http://www.futureware.biz/mantisconnect/
brunette
Posts: 9 Joined: 27 Jul 2005, 12:47
Location: France
Post
by brunette » 28 Jul 2005, 07:47
thanks for your help !!!
It's OK now ...
@+
brunette