summaryrefslogtreecommitdiff
path: root/modules/path
diff options
context:
space:
mode:
Diffstat (limited to 'modules/path')
-rw-r--r--modules/path/path.module2
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',
);