Closed (fixed)
Project:
Menu Admin per Menu
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
16 Jun 2012 at 06:51 UTC
Updated:
27 Aug 2015 at 11:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
les limThe attached patch adds a
drupal_alter()in_menu_admin_per_menu_get_perm_menus(), allowing other modules to change the available menus the user may administer. In order to make this useful, the patch also removes direct calls to user_access() for individual menus, replacing them with calls to_menu_admin_per_menu_get_perm_menus().Comment #2
les limCompanion issue in the issue queue for Domain Menu Block:
#1644250: Add permission allowing a role to adminster DMB menus only for the user's assigned domains
Comment #3
bforchhammer commentedTested and works well with the companion patch in #1644250: Add permission allowing a role to adminster DMB menus only for the user's assigned domains.
Comment #4
anrikun commentedCommitted, thanks!
Note that
hook_menu_admin_per_menu_alter()was renamed tohook_menu_admin_per_menu_perm_menus_alter()for clarity.