Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-6179

HOME > Drupal Menu is displayed even when user does not have persmission to see/use admin menu

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.1.4
    • Fix Version/s: 4.1.0
    • Component/s: None
    • Labels:
      None

      Description

      If you install the admin-menu in Drupal and assign it to a customized role (i have one called Admin), then if a user signs in that does not have permission to see Admin Menu but does have permission to use CiviCRM menu, then Drupal Menu is displayed under HOME and if you click it, the CiviCRM menu disappears but there is no menu hiding underneath!

      Looks like an additional permissions check of some sort needs to be done around line 532 in CRM/Core/BAO/Navigation.php where it says:
      if ( ( $config->userFramework == 'Drupal' ) &&
      function_exists( 'module_exists' ) &&
      module_exists('admin_menu') ) {

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              jsherk jsherk (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: