Index: tools.php
===================================================================
--- tools.php	(revision 42154)
+++ tools.php	(working copy)
@@ -9,6 +9,9 @@
 /** WordPress Administration Bootstrap */
 require_once( dirname( __FILE__ ) . '/admin.php' );
 
+if ( ! current_user_can('import') )
+	wp_die( __( 'Sorry, you are not allowed to access this page.' ) );
+
 $title = __('Tools');
 
 get_current_screen()->add_help_tab( array(
@@ -30,7 +33,6 @@
 <div class="wrap">
 <h1><?php echo esc_html( $title ); ?></h1>
 <?php
-if ( current_user_can( 'import' ) ) :
 $cats = get_taxonomy('category');
 $tags = get_taxonomy('post_tag');
 if ( current_user_can($cats->cap->manage_terms) || current_user_can($tags->cap->manage_terms) ) : ?>
@@ -40,7 +42,6 @@
 </div>
 <?php
 endif;
-endif;
 
 /**
  * Fires at the end of the Tools Administration screen.
