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

Icorrect group/ACL activity when the non-admin is viewing a group

    Details

    • Type: Bug
    • Status: Won't Do
    • Priority: Major
    • Resolution: Won't Do
    • Affects Version/s: 4.4.3, 4.4.4, 4.4.5
    • Fix Version/s: Unscheduled
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)

      Description

      So, when a registered (Drupal) user (capable to add individuals to a group) is the member of several groups, the group listing produces only the output of the last created group. If Individual is a member of several groups, it is possible to view it in the list of all those groups.
      URL: civicrm/group/search?force=1&context=smog&gid=6
      Groups are in different ACLS with identical rights (create, search....).
      For example:
      groups G1 and G2, ACL allows a registered user add individuals to both.
      Major admin can view the new individual added to both. But registered user can view the full list of individuals in the G2, and no one (besides individuals registered in G1 and G2).
      So, creating the new ACL with G2 stops the listing of group G1.
      Logic (of ACLs) says, that we must see all users from G1 and G2.

      NB
      If somebody could tell me, where queries reside. I can dig the logic and correct it... For now, (sorry, I'm new to CIVI) the code tree looks like chaos...

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              slack Vadim S.
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: