From 21576021bfe440a0a02b0c179440f00e7182d321 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 23 Apr 2008 20:01:56 +0000 Subject: - Patch #249546 by pwolanin: rip menu access inheritance -- was already committed to D6. --- modules/path/path.module | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/path/path.module') diff --git a/modules/path/path.module b/modules/path/path.module index ac66faedd..49ea6c000 100644 --- a/modules/path/path.module +++ b/modules/path/path.module @@ -43,6 +43,7 @@ function path_menu() { $items['admin/build/path/edit'] = array( 'title' => 'Edit alias', 'page callback' => 'path_admin_edit', + 'access arguments' => array('administer url aliases'), 'type' => MENU_CALLBACK, 'file' => 'path.admin.inc', ); @@ -50,6 +51,7 @@ function path_menu() { 'title' => 'Delete alias', 'page callback' => 'drupal_get_form', 'page arguments' => array('path_admin_delete_confirm'), + 'access arguments' => array('administer url aliases'), 'type' => MENU_CALLBACK, 'file' => 'path.admin.inc', ); -- cgit v1.2.3