-
-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[REF] Fold getACLs back into the calling function #19872
Conversation
Not called in the civi universe
(Standard links)
|
$result += self::getACLs((int) $contact_id); | ||
$query = " SELECT acl.* | ||
FROM civicrm_acl acl | ||
WHERE acl.entity_table = 'civicrm_contact' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how does this even work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@seamuslee001 in terms of 'when would entity_table be equal to 'civicrm_contact'? - my suspicion is that it has not been possible for a decade - I'm still trying to test that theory
test this please |
unrelated fail but re-running api_v3_SyntaxConformanceTest::testCreateSingleValueAlter with data set #82 ('UFField') |
@seamuslee001 this has passed now - it just moves code around (the questions it raises around the 'civicrm_contact' in entity_value I hope to get to |
Overview
[REF] Fold getACLs back into the calling function
Before
Complex code flow
After
Suddenly it's obvious the plot twist that is iminent on getACLRoles....
Technical Details
Not called in the civi universe outside of core (it's protected anyway)
Comments