Project

General

Profile

Feature #19529 » t3lib_changes2.diff

Administrator Admin, 2008-10-30 11:05

View differences:

t3lib_new/class.t3lib_userauthgroup.php 2008-10-27 17:04:58.000000000 +0100
$this->setWorkspace($this->user['workspace_id']);
// Setting up the db mount points of the (custom) workspace, if any:
if ($this->workspace>0 && trim($this->workspaceRec['db_mountpoints'])!=='') {
if ($this->workspace>0 && trim($this->workspaceRec['db_mountpoints'])!=='' && ($this->workspaceRec['use_user_db_mounts']== 0)) {
// Initialize:
$newMounts = array();
t3lib_new/stddb/tables.sql 2008-10-27 17:06:46.000000000 +0100
swap_modes tinyint(3) DEFAULT '0' NOT NULL,
publish_access tinyint(3) DEFAULT '0' NOT NULL,
stagechg_notification tinyint(3) DEFAULT '0' NOT NULL,
use_user_db_mounts tinyint(3) DEFAULT '0' NOT NULL,
PRIMARY KEY (uid),
KEY parent (pid)
t3lib_new/stddb/tbl_be.php 2008-10-27 17:07:09.000000000 +0100
),
)
),
'use_user_db_mounts' => array (
'label' => 'LLL:EXT:lang/locallang_tca.xml:sys_workspace.use_user_db_mounts',
'config' => array (
'type' => 'check',
)
),
),
'types' => array(
'0' => array('showitem' => 'title,description,
--div--;LLL:EXT:lang/locallang_tca.xml:sys_filemounts.tabs.users,adminusers,members,reviewers,stagechg_notification,
--div--;LLL:EXT:lang/locallang_tca.xml:sys_filemounts.tabs.mountpoints,db_mountpoints,file_mountpoints,
--div--;LLL:EXT:lang/locallang_tca.xml:sys_filemounts.tabs.mountpoints,db_mountpoints,use_user_db_mounts,file_mountpoints,
--div--;LLL:EXT:lang/locallang_tca.xml:sys_filemounts.tabs.publishing,publish_time,unpublish_time,
--div--;LLL:EXT:lang/locallang_tca.xml:sys_filemounts.tabs.other,freeze,live_edit,review_stage_edit,disable_autocreate,swap_modes,vtypes,publish_access'
)
(1-1/3)