--- html_api.php 2007-08-30 11:53:47.000000000 +1000 +++ html_api.php 2007-08-30 12:29:17.000000000 +1000 @@ -546,10 +546,10 @@ } # 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 ); + $t_show_access = min( config_get( 'manage_user_threshold' ), config_get( 'manage_project_threshold' ), config_get( 'manage_custom_fields_threshold' ) ); 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 ) ) { + if ( access_has_global_level( config_get( 'manage_user_threshold' ) ) ) { $t_link = 'manage_user_page.php'; } else { if ( access_has_project_level( config_get( 'manage_project_threshold' ), $t_current_project ) @@ -688,7 +688,7 @@ } PRINT '
'; - if ( access_has_global_level( ADMINISTRATOR ) ) { + if ( access_has_global_level( config_get( 'manage_user_threshold' ) ) ) { print_bracket_link( $t_manage_user_page, lang_get( 'manage_users_link' ) ); } if ( access_has_project_level( config_get( 'manage_project_threshold' ) ) ) {