From c93c0fc7000f5cbb78ac2715ace58c28b789dc81 Mon Sep 17 00:00:00 2001
From: Neil Drumm <drumm@3064.no-reply.drupal.org>
Date: Fri, 20 Oct 2006 21:00:17 +0000
Subject: [PATCH] #90119 by ontwerpwerk and profix898. Clean up misnamed
 permissions.

---
 modules/node/node.module | 2 +-
 modules/user/user.module | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/node/node.module b/modules/node/node.module
index e9fdc1786c27..1b591136f925 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -995,7 +995,7 @@ function node_menu($may_cache) {
       'position' => 'left',
       'weight' => -10,
       'callback' => 'system_admin_menu_block_page',
-      'access' => user_access('access configuration pages'),
+      'access' => user_access('administer site configuration'),
     );
 
     $items[] = array(
diff --git a/modules/user/user.module b/modules/user/user.module
index 3f9c7652bb54..7874ea8f845c 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -713,7 +713,7 @@ function user_menu($may_cache) {
       'description' => t('Manage your site\'s users, groups and access to site features.'),
       'position' => 'left',
       'callback' => 'system_admin_menu_block_page',
-      'access' => user_access('access configuration pages'),
+      'access' => user_access('administer site configuration'),
     );
     $items[] = array('path' => 'admin/user/user', 'title' => t('users'),
       'description' => t('List, add, and edit users.'),
-- 
GitLab