Project

General

Profile

Feature #17024 » typo3-restrictTree.diff

Administrator Admin, 2009-11-12 16:18

View differences:

typo3/class.webpagetree.php 2009-11-12 16:12:28.000000000 +0100
* @return void
*/
function webPageTree() {
$this->init();
//$this->init();
if ($GLOBALS['BE_USER']->getTSConfigVal('options.pageTree.restrictTree')) {
$restriction = $GLOBALS['BE_USER']->getTSConfigVal('options.pageTree.restrictTree');
$this->init(' AND '.$GLOBALS['BE_USER']->getPagePermsClause($restriction));
} else {
$this->init();
}
}
/**
(3-3/4)