Page 1 of 1

Don't create news bug to Developers

Posted: 17 Jun 2011, 12:13
by angeldr
Hi,

It takes a while trying to remove the option to create new bug to the developer profile. The idea is that developers can modify only the incidents created by the manager.

Disculplen my English.

Thanks for the help!

Re: Don't create news bug to Developers

Posted: 17 Jun 2011, 13:38
by davidp
In core/html_api.php,

You can just add the following condition around L800 in the print_menu() function :

# Report Bugs
if( access_has_project_level( config_get( 'report_bug_threshold' ) ) && access_get_global_level()!=DEVELOPER ) {
$t_menu_options[] = string_get_bug_report_link();
}

The link to create new bugs won't display for a developer profile, I think it's enough if I understood your problem.