Project

General

Profile

Feature #18815 » fixme_8460_class.shortcutmenu.php.diff

Administrator Admin, 2008-05-19 15:58

View differences:

typo3/classes/class.shortcutmenu.php 2008-05-11 15:51:42.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.mayNotCreateEditShortcuts')
);
}
/**
(1-1/2)