Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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.