Project

General

Profile

Feature #18814 » fixme_8456_class.backendsearchmenu.php.diff

Administrator Admin, 2008-05-19 15:03

View differences:

typo3/classes/class.backendsearchmenu.php 2008-05-11 16:23:22.000000000 +0200
* @return boolean true if user has access, false if not
*/
public function checkAccess() {
// FIXME - needs proper access check
return true;
return (
$GLOBALS['BE_USER']->isAdmin()
|| $GLOBALS['BE_USER']->getTSConfigVal('options.enableBackendSearch')
);
}
/**
(1-1/2)