diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-04-23 20:01:56 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-04-23 20:01:56 +0000 |
commit | 21576021bfe440a0a02b0c179440f00e7182d321 (patch) | |
tree | acc3e15e529a4d07827992561dc8053360f61e35 /modules/path/path.module | |
parent | 63406e5268e564acb83078eb3beb1abdfefee0ec (diff) | |
download | brdo-21576021bfe440a0a02b0c179440f00e7182d321.tar.gz brdo-21576021bfe440a0a02b0c179440f00e7182d321.tar.bz2 |
- Patch #249546 by pwolanin: rip menu access inheritance -- was already committed to D6.
Diffstat (limited to 'modules/path/path.module')
-rw-r--r-- | modules/path/path.module | 2 |
1 files changed, 2 insertions, 0 deletions
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', ); |