Commit 4cb08dbd authored by Derek Wright's avatar Derek Wright
Browse files

[#397458] by dww: Fixed menu access for the new user/N/project-issue page.

Previously, this was accessible to all authenticated users. Now you
need permission to edit user/N to access the per-user settings page.
parent 7cd94c97
Loading
Loading
Loading
Loading
+2 −2
Changes for project_issue.module: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -91,8 +91,8 @@ function project_issue_menu() {
    'title' => 'Notifications',
    'page callback' => 'drupal_get_form',
    'page arguments' => array('project_issue_notification_user_form', 1),
    'access callback' => 'project_issue_menu_access',
    'access arguments' => array('auth'),
    'access callback' => 'user_edit_access',
    'access arguments' => array(1),
    'type' => MENU_LOCAL_TASK,
    'file' => 'includes/notification.inc',
  );