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.
When using the Admin menu module, the "SugarCRM integration" item is visible even if the current user has no permissions to access the configuration. We have this behaviour because sugarondrupal uses the "sugarondrupal_system_admin_menu_block_page" page callback instead of "system_admin_menu_block_page". Admin menu module hides the inaccessible items only if they use the "system_admin_menu_block_page" callback.
Comment | File | Size | Author |
---|---|---|---|
#1 | sugarondrupal-adminmenu-2331045-1.patch | 1.57 KB | yrocq |
Comments
Comment #1
yrocq CreditAttribution: yrocq commentedHere is a patch that fixes the bug by replacing the "sugarondrupal_system_admin_menu_block_page" callback with "system_admin_menu_block_page".
Comment #2
yrocq CreditAttribution: yrocq commented