--- alt_db_navframe.php 2007-02-21 18:15:29.000000000 +0100 +++ alt_db_navframe_new.php 2007-02-21 18:35:26.000000000 +0100 @@ -86,7 +86,12 @@ * @return void */ function localPageTree() { - $this->init(); + if ($GLOBALS['TYPO3_CONF_VARS']['BE']['restrictWebPageTree']) { + $restriction=$GLOBALS['TYPO3_CONF_VARS']['BE']['restrictWebPageTree'] + $this->init(' AND '.$GLOBALS['BE-USER']->getPagePermsClause($restriction)) + } else { + $this->init(); + } } /**