--- 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 '