phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] api/setup setup.xml,1.1.1.1.2.3,1.1.1.1.2.4


From: Joseph Engo <address@hidden>
Subject: [Phpgroupware-cvs] api/setup setup.xml,1.1.1.1.2.3,1.1.1.1.2.4
Date: Mon, 01 Dec 2003 07:36:37 +0000

Update of /cvsroot/phpgroupware/api/setup
In directory subversions:/tmp/cvs-serv27735/api/setup

Modified Files:
      Tag: proposal-branch
        setup.xml 
Log Message:
- Added a possiable table structure for acl_locations
  *You will have to re-create your tables for this*
- Create account will show the basic ACL locations
- Added a few example acl_locations and a few actual working ones


Index: setup.xml
===================================================================
RCS file: /cvsroot/phpgroupware/api/setup/setup.xml,v
retrieving revision 1.1.1.1.2.3
retrieving revision 1.1.1.1.2.4
diff -C2 -d -r1.1.1.1.2.3 -r1.1.1.1.2.4
*** setup.xml   13 Nov 2003 20:18:21 -0000      1.1.1.1.2.3
--- setup.xml   1 Dec 2003 07:36:35 -0000       1.1.1.1.2.4
***************
*** 1,3 ****
--- 1,6 ----
  <?xml version="1.0"?>
+ <!-- $Id$ -->
+ <!-- $Source$ -->
+ 
  <phpgw_setup>
        <name>api</name>
***************
*** 17,70 ****
                <provided>api.base.start</provided>
        </hooks>
        <tables_current>
  
!       <phpgw_history>
!               <fd>
!                       <history_id>
!                               <type>auto</type>
!                               <nullable>0</nullable>
!                       </history_id>
!                       <history_owner>
!                               <type>int</type>
!                               <precision>8</precision>
!                               <nullable>0</nullable>
!                       </history_owner>
!                       <history_location>
!                               <type>varchar</type>
!                               <precision>50</precision>
!                               <nullable>0</nullable>
!                       </history_location>
!                       <history_field>
!                               <type>varchar</type>
!                               <precision>30</precision>
!                               <nullable>0</nullable>
!                       </history_field>
!                       <history_action>
!                               <type>char</type>
!                               <precision>1</precision>
!                               <nullable>0</nullable>
!                       </history_action>
!                       <!-- Text _might_ be a little overboard size for this 
-->
!                       <history_o_value>
!                               <type>text</type>
!                               <nullable>1</nullable>
!                       </history_o_value>
!                       <history_n_value>
!                               <type>text</type>
!                               <nullable>0</nullable>
!                       </history_n_value>
!                       <history_timestamp>
!                               <type>timestamp</type>
!                               <nullable>1</nullable>
!                               <default>now</default>
!                       </history_timestamp>
!               </fd>
!               <pk>
!                       <pk_item>history_id</pk_item>
!               </pk>
!               <uc>
!                       <uc_item>history_id</uc_item>
!               </uc>
!       </phpgw_history>
  
        <phpgw_accounts>
--- 20,159 ----
                <provided>api.base.start</provided>
        </hooks>
+       <acl_locations>
+               <acl_location>
+                       <op>api.base</op>
+                       <title>API base</title>
+                       <value>1</value>
+               </acl_location>
+               <acl_location>
+                       <op>api.base.prefs</op>
+                       <title>Preferences</title>
+                       <value>1</value>
+               </acl_location>
+               <acl_location>
+                       <op>api.base.profiles</op>
+                       <title>Profiles</title>
+                       <value>1</value>
+               </acl_location>
+               <acl_location>
+                       <op>api.account_mgr</op>
+                       <title>User account admin</title>
+                       <value>1</value>
+               </acl_location>
+               <acl_location>
+                       <op>api.account_mgr.create</op>
+                       <title>Create user</title>
+                       <value>1</value>
+               </acl_location>
+               <acl_location>
+                       <op>api.account_mgr.edit</op>
+                       <title>Edit user</title>
+                       <value>1</value>
+               </acl_location>
+               <acl_location>
+                       <op>api.account_mgr.delete</op>
+                       <title>Delete user</title>
+                       <value>1</value>
+               </acl_location>
+               <acl_location>
+                       <op>api.group_mgr</op>
+                       <title>User group admin</title>
+                       <value>1</value>
+               </acl_location>
+               <acl_location>
+                       <op>api.group_mgr.create</op>
+                       <title>Create group</title>
+                       <value>1</value>
+               </acl_location>
+               <acl_location>
+                       <op>api.group_mgr.edit</op>
+                       <title>Edit group</title>
+                       <value>1</value>
+               </acl_location>
+               <acl_location>
+                       <op>api.group_mgr.delete</op>
+                       <title>Delete group</title>
+                       <value>1</value>
+               </acl_location>
+       </acl_locations>
        <tables_current>
+               <phpgw_history>
+                       <fd>
+                               <history_id>
+                                       <type>auto</type>
+                                       <nullable>0</nullable>
+                               </history_id>
+                               <history_owner>
+                                       <type>int</type>
+                                       <precision>8</precision>
+                                       <nullable>0</nullable>
+                               </history_owner>
+                               <history_location>
+                                       <type>varchar</type>
+                                       <precision>50</precision>
+                                       <nullable>0</nullable>
+                               </history_location>
+                               <history_field>
+                                       <type>varchar</type>
+                                       <precision>30</precision>
+                                       <nullable>0</nullable>
+                               </history_field>
+                               <history_action>
+                                       <type>char</type>
+                                       <precision>1</precision>
+                                       <nullable>0</nullable>
+                               </history_action>
+                               <!-- Text _might_ be a little overboard size 
for this -->
+                               <history_o_value>
+                                       <type>text</type>
+                                       <nullable>1</nullable>
+                               </history_o_value>
+                               <history_n_value>
+                                       <type>text</type>
+                                       <nullable>0</nullable>
+                               </history_n_value>
+                               <history_timestamp>
+                                       <type>timestamp</type>
+                                       <nullable>1</nullable>
+                                       <default>now</default>
+                               </history_timestamp>
+                       </fd>
+                       <pk>
+                               <pk_item>history_id</pk_item>
+                       </pk>
+                       <uc>
+                               <uc_item>history_id</uc_item>
+                       </uc>
+               </phpgw_history>
  
!               <phpgw_acl_locations>
!                       <fd>
!                               <loc_id>
!                                       <type>auto</type>
!                                       <nullable>0</nullable>
!                               </loc_id>
!                               <loc_op>
!                                       <type>varchar</type>
!                                       <precision>50</precision>
!                                       <nullable>0</nullable>
!                               </loc_op>
!                               <loc_title>
!                                       <type>varchar</type>
!                                       <precision>50</precision>
!                                       <nullable>0</nullable>
!                               </loc_title>
!                               <loc_value>
!                                       <type>int</type>
!                                       <precision>4</precision>
!                                       <nullable>0</nullable>
!                               </loc_value>
!                       </fd>
!                       <pk>
!                               <pk_item>loc_id</pk_item>
!                       </pk>
!                       <uc>
!                               <uc_item>loc_id</uc_item>
!                       </uc>
!               </phpgw_acl_locations>
  
        <phpgw_accounts>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]