Download & Extend

"Restrict access permission" isn't a link

Project:Menu per Role
Version:5.x-1.x-dev
Component:User interface
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

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;

Comments

#1

Status:active» closed (won't fix)

This is 3 years old... I'm closing it. Hopefully you'll be able to upgrade to 6.x and get that resolved. There are no 5.x maintainers.