[Vtigercrm-commits] [vtiger-commits] r6787 - /vtigercrm/trunk/modules/Migration/ModifyDatabase/42P2_to_50Alpha.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue May 30 16:51:27 EDT 2006
Author: don
Date: Tue May 30 14:51:24 2006
New Revision: 6787
Log:
Handled migration in security tables
Modified:
vtigercrm/trunk/modules/Migration/ModifyDatabase/42P2_to_50Alpha.php
Modified: vtigercrm/trunk/modules/Migration/ModifyDatabase/42P2_to_50Alpha.php
==============================================================================
--- vtigercrm/trunk/modules/Migration/ModifyDatabase/42P2_to_50Alpha.php (original)
+++ vtigercrm/trunk/modules/Migration/ModifyDatabase/42P2_to_50Alpha.php Tue May 30 14:51:24 2006
@@ -2794,6 +2794,33 @@
$sql2_sec="insert into profile2utility values(".$prof_id.",7,9,0)";
Execute($sql2_sec);
+
+ $sql3_sec="insert into profile2tab values(".$prof_id.",26,0)";
+ Execute($sql3_sec);
+
+ $sql4_sec="insert into profile2tab values(".$prof_id.",27,0)";
+ Execute($sql4_sec);
+
+ $sql5_sec="delete from profile2standardpermissions where tabid=1 and profileid=".$prof_id;
+ Execute($sql5_sec);
+
+ $sql6_sec="delete from profile2standardpermissions where tabid=3 and profileid=".$prof_id;
+ Execute($sql6_sec);
+
+ $sql7_sec="insert into profile2standardpermissions values(".$prof_id.",26,0,0)";
+ Execute($sql7_sec);
+
+ $sql8_sec="insert into profile2standardpermissions values(".$prof_id.",26,1,0)";
+ Execute($sql8_sec);
+
+ $sql9_sec="insert into profile2standardpermissions values(".$prof_id.",26,2,0)";
+ Execute($sql9_sec);
+
+ $sql10_sec="insert into profile2standardpermissions values(".$prof_id.",26,3,0)";
+ Execute($sql10_sec);
+
+ $sql11_sec="insert into profile2standardpermissions values(".$prof_id.",26,4,0)";
+ Execute($sql11_sec);
}
More information about the vtigercrm-commits
mailing list