Fold deprecated function into the only function that calls it
[civicrm-core.git] / xml / schema / ACL / ACL.xml
CommitLineData
6a488035
TO
1<?xml version="1.0" encoding="iso-8859-1" ?>
2
3<table>
f84ce22c
EM
4 <base>CRM/ACL</base>
5 <class>ACL</class>
6 <name>civicrm_acl</name>
7 <comment>Access Control List</comment>
8 <add>1.6</add>
9 <field>
10 <name>id</name>
11 <title>ACL ID</title>
12 <type>int unsigned</type>
13 <required>true</required>
14 <comment>Unique table ID</comment>
6a488035 15 <add>1.6</add>
f84ce22c
EM
16 </field>
17 <primaryKey>
18 <name>id</name>
19 <autoincrement>true</autoincrement>
20 </primaryKey>
21 <field>
22 <name>name</name>
23 <title>ACL Name</title>
24 <type>varchar</type>
25 <length>64</length>
26 <comment>ACL Name.</comment>
27 <html>
28 <type>Text</type>
29 </html>
30 <add>1.6</add>
31 </field>
32 <field>
33 <name>deny</name>
4d1776fb 34 <title>Deny ACL?</title>
f84ce22c
EM
35 <type>boolean</type>
36 <default>0</default>
37 <required>true</required>
38 <comment>Is this ACL entry Allow (0) or Deny (1) ?</comment>
39 <html>
40 <type>Radio</type>
41 </html>
42 <add>1.6</add>
43 </field>
44 <field>
45 <name>entity_table</name>
7a93388d 46 <title>ACL Entity</title>
f84ce22c
EM
47 <type>varchar</type>
48 <length>64</length>
49 <required>true</required>
50 <comment>Table of the object possessing this ACL entry (Contact, Group, or ACL Group)</comment>
51 <add>1.6</add>
52 </field>
53 <field>
54 <name>entity_id</name>
55 <type>int unsigned</type>
56 <title>Entity ID</title>
57 <comment>ID of the object possessing this ACL</comment>
58 <add>1.6</add>
59 </field>
60 <dynamicForeignKey>
61 <idColumn>entity_id</idColumn>
62 <typeColumn>entity_table</typeColumn>
63 <add>1.6</add>
64 </dynamicForeignKey>
65 <field>
66 <name>operation</name>
67 <type>varchar</type>
68 <title>ACL Operation</title>
69 <length>8</length>
70 <required>true</required>
71 <comment>What operation does this ACL entry control?</comment>
72 <pseudoconstant>
73 <callback>CRM_ACL_BAO_ACL::operation</callback>
74 </pseudoconstant>
75 <html>
76 <type>Select</type>
77 </html>
78 <add>1.6</add>
79 </field>
80 <field>
81 <name>object_table</name>
7a93388d 82 <title>ACL Object</title>
f84ce22c
EM
83 <type>varchar</type>
84 <length>64</length>
85 <comment>The table of the object controlled by this ACL entry</comment>
86 <add>1.6</add>
87 </field>
88 <field>
89 <name>object_id</name>
7a93388d 90 <title>ACL Object ID</title>
f84ce22c
EM
91 <type>int unsigned</type>
92 <comment>The ID of the object controlled by this ACL entry</comment>
93 <add>1.6</add>
94 </field>
95 <field>
96 <name>acl_table</name>
7a93388d 97 <title>ACL Table</title>
f84ce22c
EM
98 <type>varchar</type>
99 <length>64</length>
100 <comment>If this is a grant/revoke entry, what table are we granting?</comment>
101 <add>1.6</add>
102 </field>
103 <field>
104 <name>acl_id</name>
7a93388d 105 <title>ACL Group ID</title>
f84ce22c
EM
106 <type>int unsigned</type>
107 <comment>ID of the ACL or ACL group being granted/revoked</comment>
108 <add>1.6</add>
109 </field>
110 <index>
111 <name>index_acl_id</name>
112 <fieldName>acl_id</fieldName>
113 <add>1.6</add>
114 </index>
115 <field>
116 <name>is_active</name>
7a93388d 117 <title>ACL Is Active?</title>
f84ce22c
EM
118 <type>boolean</type>
119 <comment>Is this property active?</comment>
120 <add>1.6</add>
121 <html>
66ca5623 122 <type>CheckBox</type>
f84ce22c
EM
123 </html>
124 </field>
6a488035 125</table>