--- alt_db_navframe.php 2007-02-22 08:44:17.000000000 +0100 +++ alt_db_navframe_new.php 2007-02-22 08:44:05.000000000 +0100 @@ -86,7 +86,12 @@ * @return void */ function localPageTree() { - $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(); + } } /**