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

Multisite module: aclWhereClause allows no groups when site group has no children

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.0.2
    • Fix Version/s: 3.0.3
    • Labels:
      None

      Description

      If a site group has no children, the call to _multisite_get_all_child_groups( $groupID ) in multisite_civicrm_aclWhereClause returns no childOrgs, so no join/where clause is generated. Consequently a user without view/edit all contacts perm cannot see any contacts.

      The attached patch fixes the problem in my case but should be reviewed to make sure it's doing the right thing for other cases.

      Dave J

        Attachments

          Activity

            People

            • Assignee:
              deepak Deepak Srivastava
              Reporter:
              davej Dave Jenkins
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: