Feature #18814 » fixme_8456_class.backendsearchmenu.php.diff
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')
|
||
);
|
||
}
|
||
/**
|