1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
4 <base>CRM/Contact
</base>
5 <class>ACLContactCache
</class>
6 <name>civicrm_acl_contact_cache
</name>
7 <comment>Join table cache for contacts that a user has permission on.
</comment>
11 <type>int unsigned
</type>
12 <required>true
</required>
13 <comment>primary key
</comment>
18 <autoincrement>true
</autoincrement>
22 <type>int unsigned
</type>
23 <comment>FK to civicrm_contact (could be null for anon user)
</comment>
28 <table>civicrm_contact
</table>
31 <onDelete>CASCADE
</onDelete>
34 <name>contact_id
</name>
35 <type>int unsigned
</type>
36 <required>true
</required>
37 <comment>FK to civicrm_contact
</comment>
41 <name>contact_id
</name>
42 <table>civicrm_contact
</table>
45 <onDelete>CASCADE
</onDelete>
48 <name>operation
</name>
51 <required>true
</required>
52 <comment>What operation does this user have permission on?
</comment>
54 <callback>CRM_ACL_BAO_ACL::operation
</callback>
62 <name>UI_user_contact_operation
</name>
63 <fieldName>user_id
</fieldName>
64 <fieldName>contact_id
</fieldName>
65 <fieldName>operation
</fieldName>