Project

General

Profile

Bug #13487 ยป v1.patch

Tolleiv Nietsch, 2011-08-30 00:01

View differences:

typo3/sysext/cms/tslib/index_ts.php
$BE_USER->initializeAdminPanel();
}
$TSFE->checkAlternativeIdMethods();
$TSFE->clear_preview();
$TSFE->determineId();
// Now, if there is a backend user logged in and he has NO access to this page, then re-evaluate the id shown!
if ($TSFE->isBackendUserLoggedIn() && (!$BE_USER->extPageReadAccess($TSFE->page) || t3lib_div::_GP('ADMCMD_noBeUser'))) { // t3lib_div::_GP('ADMCMD_noBeUser') is placed here because workspacePreviewInit() might need to know if a backend user is logged in!
// Remove user
unset($BE_USER);
$TSFE->beUserLogin = 0;
// Re-evaluate the page-id.
$TSFE->checkAlternativeIdMethods();
$TSFE->clear_preview();
$TSFE->determineId();
}
// Re-evaluate the page-id.
$TSFE->checkAlternativeIdMethods();
$TSFE->clear_preview();
$TSFE->determineId();
$TSFE->makeCacheHash();
$TT->pull();
typo3/sysext/workspaces
Subproject commit 9ec1390442816d764809ae375d0dc34f6aafb465
Subproject commit 64f6bc1735e7d1f489ed85596f65ff9924ab7266-dirty
    (1-1/1)