Merge pull request #18748 from eileenmcnaughton/log
[civicrm-core.git] / CRM / ACL / BAO / ACL.php
index 2fa703199fa0deb142fe90a7fef9b8ef6f5d15d2..f1f8cb0df8a1c67f51fb2bc348cde8620f1d7dad 100644 (file)
@@ -518,6 +518,8 @@ ORDER BY a.object_id
     if (empty($ids) && !empty($includedGroups) &&
       is_array($includedGroups)
     ) {
+      // This is pretty alarming - we 'sometimes' include all included groups
+      // seems problematic per https://lab.civicrm.org/dev/core/-/issues/1879
       $ids = $includedGroups;
     }
     if ($contactID) {