Commit a8d2453b authored by Gábor Hojtsy's avatar Gábor Hojtsy

#177654 by chx: admin/content has items with comment, feed, etc management, so...

#177654 by chx: admin/content has items with comment, feed, etc management, so a node admin permission should not be required to visit it
parent 1ccd9a75
......@@ -1273,17 +1273,6 @@ function _node_add_access() {
* Implementation of hook_menu().
*/
function node_menu() {
$items['admin/content'] = array(
'title' => 'Content management',
'description' => "Manage your site's content.",
'position' => 'left',
'weight' => -10,
'page callback' => 'system_admin_menu_block_page',
'access arguments' => array('administer nodes'),
'file' => 'system.admin.inc',
'file path' => drupal_get_path('module', 'system'),
);
$items['admin/content/node'] = array(
'title' => 'Content',
'description' => "View, edit, and delete your site's content.",
......
......@@ -184,6 +184,16 @@ function system_menu() {
'type' => MENU_LOCAL_TASK,
'weight' => 2,
);
$items['admin/content'] = array(
'title' => 'Content management',
'description' => "Manage your site's content.",
'position' => 'left',
'weight' => -10,
'page callback' => 'system_admin_menu_block_page',
'access arguments' => array('access administration pages'),
'file' => 'system.admin.inc',
);
// menu items that are basically just menu blocks
$items['admin/settings'] = array(
'title' => 'Site configuration',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment