6 <field name="name" type="C" size="230">
10 <field name="value" type="C" size="150">
15 <descr>SQL to be executed only to insert default rows</descr>
17 DELETE FROM phpgacl WHERE name='version'
20 INSERT INTO phpgacl (name,value) VALUES ('version','3.3.7')
23 DELETE FROM phpgacl WHERE name='schema_version'
26 INSERT INTO phpgacl (name,value) VALUES ('schema_version','2.1')
32 <field name="id" type="I">
37 <field name="section_value" type="C" size="150">
38 <DEFAULT value="system"/>
41 <field name="allow" type="I">
45 <field name="enabled" type="I">
49 <field name="return_value" type="X">
51 <field name="note" type="X">
53 <field name="updated_date" type="I">
58 <index name="enabled_acl">
61 <index name="section_value_acl">
62 <col>section_value</col>
64 <index name="updated_date_acl">
65 <col>updated_date</col>
69 <!-- ACL Section Table -->
70 <table name="acl_sections">
71 <field name="id" type="I">
76 <field name="value" type="C" size="150">
79 <field name="order_value" type="I">
83 <field name="name" type="C" size="230">
86 <field name="hidden" type="I">
91 <index name="value_acl_sections">
95 <index name="hidden_acl_sections">
100 <descr>SQL to be executed only to insert default rows</descr>
102 DELETE FROM acl_sections WHERE id=1 AND value='system'
105 INSERT INTO acl_sections (id,value,order_value,name) VALUES (1,'system',1,'System')
108 DELETE FROM acl_sections WHERE id=2 AND value='user'
111 INSERT INTO acl_sections (id,value,order_value,name) VALUES (2,'user',2,'User')
117 <field name="id" type="I">
122 <field name="section_value" type="C" size="150">
126 <field name="value" type="C" size="150">
129 <field name="order_value" type="I">
133 <field name="name" type="C" size="255">
136 <field name="hidden" type="I">
141 <index name="section_value_value_aco">
142 <col>section_value</col>
146 <index name="hidden_aco">
151 <!-- ACL to ACO Map Table -->
152 <table name="aco_map">
153 <field name="acl_id" type="I">
158 <field name="section_value" type="C" size="150">
163 <field name="value" type="C" size="150">
169 <!-- ACO Section Table -->
170 <table name="aco_sections">
171 <field name="id" type="I">
176 <field name="value" type="C" size="150">
179 <field name="order_value" type="I">
183 <field name="name" type="C" size="230">
186 <field name="hidden" type="I">
191 <index name="value_aco_sections">
195 <index name="hidden_aco_sections">
202 <field name="id" type="I">
207 <field name="section_value" type="C" size="150">
211 <field name="value" type="C" size="150">
214 <field name="order_value" type="I">
218 <field name="name" type="C" size="255">
221 <field name="hidden" type="I">
226 <index name="section_value_value_aro">
227 <col>section_value</col>
231 <index name="hidden_aro">
236 <!-- ACL to ARO Map Table -->
237 <table name="aro_map">
238 <field name="acl_id" type="I">
243 <field name="section_value" type="C" size="150">
248 <field name="value" type="C" size="150">
254 <!-- ARO Section Table -->
255 <table name="aro_sections">
256 <field name="id" type="I">
261 <field name="value" type="C" size="150">
264 <field name="order_value" type="I">
268 <field name="name" type="C" size="230">
271 <field name="hidden" type="I">
276 <index name="value_aro_sections">
280 <index name="hidden_aro_sections">
287 <field name="id" type="I">
292 <field name="section_value" type="C" size="150">
296 <field name="value" type="C" size="150">
299 <field name="order_value" type="I">
303 <field name="name" type="C" size="255">
306 <field name="hidden" type="I">
311 <index name="section_value_value_axo">
312 <col>section_value</col>
316 <index name="hidden_axo">
321 <!-- ACL to AXO Map Table -->
322 <table name="axo_map">
323 <field name="acl_id" type="I">
328 <field name="section_value" type="C" size="150">
333 <field name="value" type="C" size="150">
339 <!-- AXO Section Table -->
340 <table name="axo_sections">
341 <field name="id" type="I">
346 <field name="value" type="C" size="150">
349 <field name="order_value" type="I">
353 <field name="name" type="C" size="230">
356 <field name="hidden" type="I">
361 <index name="value_axo_sections">
365 <index name="hidden_axo_sections">
370 <!-- ARO Group Table -->
371 <table name="aro_groups">
372 <field name="id" type="I">
377 <field name="parent_id" type="I">
381 <field name="lft" type="I">
385 <field name="rgt" type="I">
389 <field name="name" type="C" size="255">
392 <field name="value" type="C" size="150">
397 <index name="parent_id_aro_groups">
400 <index name="value_aro_groups">
404 <index name="lft_rgt_aro_groups">
410 <!-- ARO to ARO Group Map Table -->
411 <table name="groups_aro_map">
412 <field name="group_id" type="I">
417 <field name="aro_id" type="I">
422 <index name="aro_id">
423 <descr>Index on aro_id</descr>
428 <!-- ACL to ARO Group Map Table -->
429 <table name="aro_groups_map">
430 <field name="acl_id" type="I">
435 <field name="group_id" type="I">
442 <!-- AXO Group Table -->
443 <table name="axo_groups">
444 <field name="id" type="I">
449 <field name="parent_id" type="I">
453 <field name="lft" type="I">
457 <field name="rgt" type="I">
461 <field name="name" type="C" size="255">
464 <field name="value" type="C" size="150">
469 <index name="parent_id_axo_groups">
472 <index name="value_axo_groups">
476 <index name="lft_rgt_axo_groups">
482 <!-- AXO to AXO Group Map Table -->
483 <table name="groups_axo_map">
484 <field name="group_id" type="I">
489 <field name="axo_id" type="I">
494 <index name="axo_id">
495 <descr>Index on axo_id</descr>
500 <!-- ACL to AXO Group Map Table -->
501 <table name="axo_groups_map">
502 <field name="acl_id" type="I">
507 <field name="group_id" type="I">