summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-06-28 00:48:26 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-06-28 00:48:26 +0000
commit03d5ff739e4a23ddd460d44d3bfe2f75aa6ebf1f (patch)
tree71efb3e3f3d962f5d7b461f3f6d719d123ad3d17
parent803bbf4f87298baf29ee740709949ccc60d0d01d (diff)
downloadbrdo-03d5ff739e4a23ddd460d44d3bfe2f75aa6ebf1f.tar.gz
brdo-03d5ff739e4a23ddd460d44d3bfe2f75aa6ebf1f.tar.bz2
#136585 by hunmonk and pwolanin: fix too tight permissions on admin/content
-rw-r--r--modules/node/node.module2
-rw-r--r--modules/system/system.module1
2 files changed, 2 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index 246ff6c2f..02f2eae2b 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1146,7 +1146,7 @@ function node_menu() {
'position' => 'left',
'weight' => -10,
'page callback' => 'system_admin_menu_block_page',
- 'access arguments' => array('administer site configuration'),
+ 'access arguments' => array('administer nodes'),
'file' => 'system.admin.inc',
'file path' => drupal_get_path('module', 'system'),
);
diff --git a/modules/system/system.module b/modules/system/system.module
index e2d73b360..59dc8a14a 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -284,6 +284,7 @@ function system_menu() {
'description' => 'Configure the number of items per feed and whether feeds should be titles/teasers/full-text.',
'page callback' => 'drupal_get_form',
'page arguments' => array('system_rss_feeds_settings'),
+ 'access arguments' => array('administer site configuration'),
);
$items['admin/settings/date-time'] = array(
'title' => 'Date and time',