Project

General

Profile

Bug #82626 ยป issue_82626_no-such-workspace.diff

Thomas Prangenberg, 2017-11-21 10:54

View differences:

typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php
// Traverse custom workspaces:
$queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable('sys_workspace');
$queryBuilder->getRestrictions()->add(GeneralUtility::makeInstance(RootLevelRestriction::class));
$workspaces = $queryBuilder->select('uid', 'title', 'adminusers', 'reviewers')
$workspaces = $queryBuilder->select('uid', 'title', 'adminusers', 'reviewers', 'members')
->from('sys_workspace')
->orderBy('title')
->execute()
    (1-1/1)