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

Users with restricted access, defined by search builder group assignments, can't access basic CiviCRM pages

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.8
    • Component/s: None
    • Labels:
      None

      Description

      I experienced the same result in PHP4 and PHP5 environments of members of
      restricted roles. I defined that role by restricting access to a smartgroup, which is defined
      via the search builder (Individuals with group !=48 may not shown).
      In both environments I used version 1.7.9821, the PHP5 environment is a fresh install.

      There a basic search dialogue is not showing up ( nor other CRM pages).
      Backtrace in PHP5:

      /var/www/crm3/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 230
      /var/www/crm3/sites/all/modules/civicrm/CRM/Core/DAO.php, fatal, 527
      /var/www/crm3/sites/all/modules/civicrm/CRM/Core/Permission/Drupal.php, getFieldValue, 97
      /var/www/crm3/sites/all/modules/civicrm/CRM/Core/Permission.php(117) : eval()'d code, group, 1
      /var/www/crm3/sites/all/modules/civicrm/CRM/Core/Permission.php, eval, 117
      /var/www/crm3/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php, group, 687
      /var/www/crm3/sites/all/modules/civicrm/CRM/Contact/Form/Search.php, group, 424
      /var/www/crm3/sites/all/modules/civicrm/CRM/Core/Form.php, preProcess, 281
      /var/www/crm3/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Display.php, buildForm, 98
      /var/www/crm3/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php, perform, 195
      /var/www/crm3/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php, handle, 95
      /var/www/crm3/sites/all/modules/civicrm/CRM/Core/Controller.php, handle, 213
      /var/www/crm3/sites/all/modules/civicrm/CRM/Core/Invoke.php, run, 429
      /var/www/crm3/sites/all/modules/civicrm/CRM/Core/Invoke.php, search, 361
      /var/www/crm3/sites/all/modules/civicrm/CRM/Core/Invoke.php, contact, 82
      /var/www/crm3/sites/all/modules/civicrm/drupal/civicrm.module, invoke, 288
      , civicrm_invoke,
      /var/www/crm3/includes/menu.inc, call_user_func_array, 418
      /var/www/crm3/index.php, menu_execute_active_handler, 15

      Backtrace in PHP4:
      /home/crm/www/modules/civicrm/CRM/Core/Error.php, backtrace, 236
      /home/crm/www/modules/civicrm/CRM/Core/DAO.php, fatal, 540
      /home/crm/www/modules/civicrm/CRM/Core/Permission/Drupal.php, getfieldvalue, 104
      /home/crm/www/modules/civicrm/CRM/Core/Permission.php(123) : eval()'d code, group, 1
      /home/crm/www/modules/civicrm/CRM/Core/Permission.php, eval, 123
      /home/crm/www/modules/civicrm/CRM/Core/PseudoConstant.php, group, 710
      /home/crm/www/modules/civicrm/CRM/Contact/Form/Search.php, group, 427
      /home/crm/www/modules/civicrm/CRM/Core/Form.php, preprocess, 289
      /home/crm/www/modules/civicrm/CRM/Core/QuickForm/Action/Display.php, buildform, 101
      /home/crm/www/modules/civicrm/packages/HTML/QuickForm/Controller.php, perform, 195
      /home/crm/www/modules/civicrm/packages/HTML/QuickForm/Page.php, handle, 95
      /home/crm/www/modules/civicrm/CRM/Core/Controller.php, handle, 216
      /home/crm/www/modules/civicrm/CRM/Core/Invoke.php, run, 430
      /home/crm/www/modules/civicrm/CRM/Core/Invoke.php, search, 362
      /home/crm/www/modules/civicrm/CRM/Core/Invoke.php, contact, 83
      /home/crm/www/modules/bak.civicrm-1.7.beta.9101/drupal/civicrm.module, invoke, 289
      , civicrm_invoke,
      /home/crm/www/includes/menu.inc, call_user_func_array, 418
      /home/crm/www/index.php, menu_execute_active_handler, 15

        Attachments

          Activity

            People

            • Assignee:
              shailesh Shailesh Lende
              Reporter:
              jochenplumeyer Jochen Plumeyer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: