Closed (won't fix)
Project:
Menu Per Role
Version:
5.x-1.x-dev
Component:
User interface
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Sep 2007 at 15:56 UTC
Updated:
30 Dec 2010 at 02:12 UTC
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
Comment #1
AlexisWilke commentedThis 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.