? hide_edit_link_on_private_sites.patch Index: includes/menu.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/menu.inc,v retrieving revision 1.135 diff -u -F^f -r1.135 menu.inc --- includes/menu.inc 6 Sep 2006 08:32:51 -0000 1.135 +++ includes/menu.inc 7 Sep 2006 16:44:02 -0000 @@ -870,7 +870,7 @@ function menu_primary_links($start_level } // Special case - provide link to admin/build/menu if primary links is empty. - if (empty($links) && $start_level == 1 && $pid == variable_get('menu_primary_menu', 0)) { + if (empty($links) && $start_level == 1 && $pid == variable_get('menu_primary_menu', 0) && user_access('administer menu')) { $links['1-1'] = array( 'title' => t('edit primary links'), 'href' => 'admin/build/menu'