From: <jfi...@us...> - 2003-03-10 18:14:49
|
Update of /cvsroot/mantisbt/mantisbt In directory sc8-pr-cvs1:/tmp/cvs-serv13977 Modified Files: bug_view_advanced_page.php bug_view_page.php Log Message: Fix for issue #3047: Manually assigned developers cannot resolve in All Projects view along with a few other related fixes * bug_view_advanced_page.php: * bug_view_page.php: change uses of access_has_project_level() to access_has_bug_level() * core/html_api.php (html_button_bug_delete): (html_button_bug_monitor): (html_button_bug_close): (html_button_bug_reopen): (html_button_bug_resolve): (html_button_bug_assign): (html_button_bug_update): change uses of access_has_project_level() to access_has_bug_level() Index: bug_view_advanced_page.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/bug_view_advanced_page.php,v retrieving revision 1.43 retrieving revision 1.44 diff -u -d -r1.43 -r1.44 --- bug_view_advanced_page.php 25 Feb 2003 15:50:05 -0000 1.43 +++ bug_view_advanced_page.php 10 Mar 2003 18:14:08 -0000 1.44 @@ -55,7 +55,7 @@ <!-- Send Bug Reminder --> <?php if ( !current_user_is_anonymous() && - access_has_project_level( config_get( 'bug_reminder_threshold' ) ) ) { + access_has_bug_level( config_get( 'bug_reminder_threshold' ), $f_bug_id ) ) { ?> <span class="small"> <?php print_bracket_link( 'bug_reminder_page.php?bug_id='.$f_bug_id, lang_get( 'bug_reminder' ) ) ?> @@ -403,7 +403,7 @@ <!-- Attachments --> <?php - $t_show_attachments = ( $t_bug->reporter_id == auth_get_current_user_id() ) || access_has_project_level( config_get( 'view_attachments_threshold' ) ); + $t_show_attachments = ( $t_bug->reporter_id == auth_get_current_user_id() ) || access_has_bug_level( config_get( 'view_attachments_threshold' ), $f_bug_id ); if ( $t_show_attachments ) { ?> Index: bug_view_page.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/bug_view_page.php,v retrieving revision 1.44 retrieving revision 1.45 diff -u -d -r1.44 -r1.45 --- bug_view_page.php 25 Feb 2003 15:50:08 -0000 1.44 +++ bug_view_page.php 10 Mar 2003 18:14:10 -0000 1.45 @@ -55,7 +55,7 @@ <!-- Send Bug Reminder --> <?php if ( !current_user_is_anonymous() && - access_has_project_level( config_get( 'bug_reminder_threshold' ) ) ) { + access_has_bug_level( config_get( 'bug_reminder_threshold' ), $f_bug_id ) ) { ?> <span class="small"> <?php print_bracket_link( 'bug_reminder_page.php?bug_id='.$f_bug_id, lang_get( 'bug_reminder' ) ) ?> @@ -316,7 +316,7 @@ <!-- Attachments --> <?php - $t_show_attachments = ( $t_bug->reporter_id == auth_get_current_user_id() ) || access_has_project_level( config_get( 'view_attachments_threshold' ) ); + $t_show_attachments = ( $t_bug->reporter_id == auth_get_current_user_id() ) || access_has_bug_level( config_get( 'view_attachments_threshold' ), $f_bug_id ); if ( $t_show_attachments ) { ?> |