[Vtigercrm-commits] [vtiger-commits] r5842 - /vtigercrm/trunk/modules/Users/Security.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed May 10 10:07:42 EDT 2006


Author: don
Date: Wed May 10 08:07:38 2006
New Revision: 5842

Log:
Security Support for Campaign done

Modified:
    vtigercrm/trunk/modules/Users/Security.php

Modified: vtigercrm/trunk/modules/Users/Security.php
==============================================================================
--- vtigercrm/trunk/modules/Users/Security.php (original)
+++ vtigercrm/trunk/modules/Users/Security.php Wed May 10 08:07:38 2006
@@ -1072,8 +1072,7 @@
 
 
 
-
-        $this->db->query("insert into profile2standardpermissions values (".$profile1_id.",26,0,0)");
+        	$this->db->query("insert into profile2standardpermissions values (".$profile1_id.",26,0,0)");
 		$this->db->query("insert into profile2standardpermissions values (".$profile1_id.",26,1,0)");
 		$this->db->query("insert into profile2standardpermissions values (".$profile1_id.",26,2,0)");
 		$this->db->query("insert into profile2standardpermissions values (".$profile1_id.",26,3,0)");
@@ -1527,7 +1526,7 @@
 
 
 		//Inserting for all tabs
-                $def_org_tabid= Array(2,4,6,7,9,10,13,16,20,21,22,23);
+                $def_org_tabid= Array(2,4,6,7,9,10,13,16,20,21,22,23,26);
 
                 foreach($def_org_tabid as $def_tabid)
                 {
@@ -1560,6 +1559,7 @@
                $this->db->query("insert into def_org_share values (".$this->db->getUniqueID('def_org_share').",21,2,0)");
                $this->db->query("insert into def_org_share values (".$this->db->getUniqueID('def_org_share').",22,2,0)");
                $this->db->query("insert into def_org_share values (".$this->db->getUniqueID('def_org_share').",23,2,0)");
+               $this->db->query("insert into def_org_share values (".$this->db->getUniqueID('def_org_share').",26,2,0)");
 
 		//Populating the DataShare Related Modules
 





More information about the vtigercrm-commits mailing list