"Restrict access permission" isn't a link

silurius - September 11, 2007 - 15:56
Project:Menu per Role
Version:5.x-1.x-dev
Component:User interface
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

Installed a fresh copy of 5.x-1.x-dev and although it installs without issue and the functionality is almost available, the actual "Restrict access permission" section of the menu editing screen is merely text. Running Drupal 5.2, PHP 5.2.3, MySQL 4.1.16-standard-log.

Just in case it's relevant, I patched the menu.inc manually and this is how that section looks (1130-1139):

      // If the administrator has changed the item, reflect the change.
      if ($item->type & MENU_MODIFIED_BY_ADMIN) {
      if (module_exists('menu_per_role') && !is_null($access = menu_per_role_access($item->mid))) {
          $_menu['items'][$item->mid]['access'] = isset($_menu['items'][$item->mid]['access']) ? $_menu['items'][$item->mid]['access'] && $access : $access;
        }
        $_menu['items'][$item->mid]['title'] = $item->title;
        $_menu['items'][$item->mid]['description'] = $item->description;
        $_menu['items'][$item->mid]['pid'] = $item->pid;
        $_menu['items'][$item->mid]['weight'] = $item->weight;
        $_menu['items'][$item->mid]['type'] = $item->type;

 
 

Drupal is a registered trademark of Dries Buytaert.