### Eclipse Workspace Patch 1.0 #P igeworkspace42 Index: t3lib/config_default.php =================================================================== --- t3lib/config_default.php (revision 323) +++ t3lib/config_default.php (working copy) @@ -201,6 +201,7 @@ 'SC_mod_web_perm_ajax::dispatch' => 'typo3/mod/web/perm/class.sc_mod_web_perm_ajax.php:SC_mod_web_perm_ajax->dispatch' ), 'customStageShowRecipientRecursive' => FALSE, // If true the email recipients for custom stage change will be used from selected be_group and sub be_groups recursive + 'disableDefaultWorkspace' => FALSE, // If true the default example workspace will be disabled 'XCLASS' => Array(), // See 'Inside TYPO3' document for more information. ), 'FE' => Array( // Configuration for the TypoScript frontend (FE). Nothing here relates to the administration backend! Index: t3lib/class.t3lib_userauthgroup.php =================================================================== --- t3lib/class.t3lib_userauthgroup.php (revision 363) +++ t3lib/class.t3lib_userauthgroup.php (working copy) @@ -1481,6 +1481,11 @@ break; } } + + // return false for default workspac if disabled in localconf.php + if($GLOBALS['TYPO3_CONF_VARS']['BE']['disableDefaultWorkspace'] && $wsRec['uid'] == -1){ + return false; + } // If wsRec is set to an array, evaluate it: if (is_array($wsRec)) {