Index: core/html_api.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/core/html_api.php,v
retrieving revision 1.184.4.1
diff -c -r1.184.4.1 html_api.php
*** core/html_api.php 8 Dec 2005 22:28:16 -0000 1.184.4.1
--- core/html_api.php 9 Dec 2005 13:45:26 -0000
***************
*** 498,507 ****
}
# Manage Users (admins) or Manage Project (managers) or Manage Custom Fields
! $t_show_access = min( config_get( 'manage_project_threshold' ), config_get( 'manage_custom_fields_threshold' ), ADMINISTRATOR );
if ( access_has_global_level( $t_show_access) || access_has_any_project( $t_show_access ) ) {
$t_current_project = helper_get_current_project();
! if ( access_has_project_level( ADMINISTRATOR, $t_current_project ) ) {
$t_link = 'manage_user_page.php';
} else {
if ( access_has_project_level( config_get( 'manage_project_threshold' ), $t_current_project )
--- 498,511 ----
}
# Manage Users (admins) or Manage Project (managers) or Manage Custom Fields
! $t_show_access = min( config_get( 'manage_project_threshold' ),
! config_get( 'manage_custom_fields_threshold' ),
! config_get( 'manage_user_threshold' ),
! ADMINISTRATOR );
if ( access_has_global_level( $t_show_access) || access_has_any_project( $t_show_access ) ) {
$t_current_project = helper_get_current_project();
! $t_user_access = config_get('manage_user_threshold');
! if ( access_has_project_level( ADMINISTRATOR, $t_current_project ) || access_has_global_level($t_user_access)) {
$t_link = 'manage_user_page.php';
} else {
if ( access_has_project_level( config_get( 'manage_project_threshold' ), $t_current_project )