[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] property/setup default_records.inc.php
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] property/setup default_records.inc.php |
Date: |
Thu, 05 Oct 2006 13:32:20 +0000 |
CVSROOT: /sources/phpgroupware
Module name: property
Changes by: Sigurd Nes <sigurdne> 06/10/05 13:32:20
Modified files:
setup : default_records.inc.php
Log message:
Clean out old values from previous install
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/property/setup/default_records.inc.php?cvsroot=phpgroupware&r1=1.28&r2=1.29
Patches:
Index: default_records.inc.php
===================================================================
RCS file: /sources/phpgroupware/property/setup/default_records.inc.php,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- default_records.inc.php 5 Oct 2006 13:13:23 -0000 1.28
+++ default_records.inc.php 5 Oct 2006 13:32:19 -0000 1.29
@@ -8,7 +8,7 @@
* @internal Development of this application was funded by
http://www.bergen.kommune.no/bbb_/ekstern/
* @package property
* @subpackage setup
- * @version $Id: default_records.inc.php,v 1.28 2006/10/05 13:13:23
sigurdne Exp $
+ * @version $Id: default_records.inc.php,v 1.29 2006/10/05 13:32:19
sigurdne Exp $
*/
@@ -185,6 +185,10 @@
#
# phpgw_acl_location
#
+
+$GLOBALS['phpgw_setup']->oProc->query("DELETE FROM phpgw_acl where acl_appname
= 'property' AND acl_location !='run' ");
+$GLOBALS['phpgw_setup']->oProc->query("DELETE FROM phpgw_acl_location where
appname = 'property'");
+
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_acl_location
(appname, id, descr, allow_grant) VALUES ('property', '.', 'Top', 1)");
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_acl_location
(appname, id, descr) VALUES ('property', '.admin', 'Admin')");
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_acl_location
(appname, id, descr) VALUES ('property', '.admin.entity', 'Admin entity')");
@@ -200,7 +204,6 @@
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_acl_location
(appname, id, descr) VALUES ('property', '.invoice', 'Invoice')");
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_acl_location
(appname, id, descr) VALUES ('property', '.document', 'Documents')");
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_acl_location
(appname, id, descr) VALUES ('property', '.drawing', 'Drawing')");
-//$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_acl_location
(appname, id, descr) VALUES ('property', '.meter', 'Meter')");
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_acl_location
(appname, id, descr, allow_grant) VALUES ('property', '.entity.1', 'Equipment',
1)");
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_acl_location
(appname, id, descr, allow_grant) VALUES ('property', '.entity.1.1', 'Meter',
1)");
$GLOBALS['phpgw_setup']->oProc->query("INSERT INTO phpgw_acl_location
(appname, id, descr, allow_grant) VALUES ('property', '.entity.1.2',
'Elevator', 1)");