Don't create news bug to Developers

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
angeldr

Don't create news bug to Developers

Post 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!
davidp
Posts: 21
Joined: 29 Apr 2011, 08:18

Re: Don't create news bug to Developers

Post 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.
Post Reply