Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.2.9
-
Fix Version/s: 4.3.4
-
Component/s: None
-
Labels:None
Description
The situation is that the function that restricts which groups a contact can see is adding the criteria "status = 'Added'".
This means groups which are within the users permitted groups are not being shown.
The history of this is that there has been a good deal of confusion about the code used to determine which ACLs should be shown as functions determining which groups should be visible have been mixed with functions determining contact visibility. This was largely fixed in CRM-10667.
The current issue was brought to the fore by the fix for CRM-12209 - which led to the aforementioned permission clause being applied at a more appropriate point in the code (before the sql LIMIT was applied). However, I did grep & did not find any other functions calling this code which would concern me.