projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #18748 from eileenmcnaughton/log
[civicrm-core.git]
/
CRM
/
ACL
/
BAO
/
ACL.php
diff --git
a/CRM/ACL/BAO/ACL.php
b/CRM/ACL/BAO/ACL.php
index 2fa703199fa0deb142fe90a7fef9b8ef6f5d15d2..f1f8cb0df8a1c67f51fb2bc348cde8620f1d7dad 100644
(file)
--- a/
CRM/ACL/BAO/ACL.php
+++ b/
CRM/ACL/BAO/ACL.php
@@
-518,6
+518,8
@@
ORDER BY a.object_id
if (empty($ids) && !empty($includedGroups) &&
is_array($includedGroups)
) {
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) {
$ids = $includedGroups;
}
if ($contactID) {