Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1924)
+++ branches/2.8.x/CHANGELOG	(revision 1925)
@@ -11,6 +11,8 @@
 ! = Update/Change
 ===============================================================================
 
+09 Jun-2013 Build 1925 Werner v.d.Decken(DarkViper)
+! set default rights to dissabled for new installed modules
 08 Jun-2013 Build 1924 Werner v.d.Decken(DarkViper)
 ! syncronize project and some small typo corrections in /admin/
 08 Jun-2013 Build 1923 Werner v.d.Decken(DarkViper)
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1924)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1925)
@@ -51,5 +51,5 @@
 
 // check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
 if(!defined('VERSION')) define('VERSION', '2.8.3');
-if(!defined('REVISION')) define('REVISION', '1924');
+if(!defined('REVISION')) define('REVISION', '1925');
 if(!defined('SP')) define('SP', '');
Index: branches/2.8.x/wb/framework/functions.php
===================================================================
--- branches/2.8.x/wb/framework/functions.php	(revision 1924)
+++ branches/2.8.x/wb/framework/functions.php	(revision 1925)
@@ -1108,6 +1108,15 @@
 		return $subject;
     }
 
+function setAccessDeniedToNewTools($sModulName)
+{
+	$oDb = WbDatabase::getInstance();
+	$sql = 'UPDATE `'.$oDb->getTablePrefix.'groups` '
+		 . 'SET `module_permissions`= TRIM(LEADING \',\' FROM (CONCAT(`module_permissions`, \','.$sModulName.'\'))) '
+	     . 'WHERE `group_id`<>1 AND NOT FIND_IN_SET(\''.$sModulName.'\', `module_permissions`)';
+	$oDb->query($sql);
+}
+	
 // Load module into DB
 function load_module($directory, $install = false)
 {
@@ -1143,6 +1152,11 @@
 			$sql .= '`license`=\''.addslashes($module_license).'\'';
 			$sql .= $sqlwhere;
 			$retVal = intval($database->query($sql) ? true : false);
+			if($retVal && !$sqlwhere &&
+			   ($module_function == 'tool' || $module_function == 'page' || $module_function == 'wysiwyg')
+			  ) {
+				setAccessDeniedToNewTools($module_directory);
+			}
 			// Run installation script
 			if($install == true) {
 				if(file_exists($directory.'/install.php')) {
