Bug #82626 ยป issue_82626_no-such-workspace.diff
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()
|