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.

CommentFileSizeAuthor
#1 sugarondrupal-adminmenu-2331045-1.patch1.57 KByrocq
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

yrocq’s picture

Status: Active » Needs review
FileSize
1.57 KB

Here is a patch that fixes the bug by replacing the "sugarondrupal_system_admin_menu_block_page" callback with "system_admin_menu_block_page".

yrocq’s picture

Issue summary: View changes