Feature #18815 » fixme_8460_class.shortcutmenu.php.diff
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')
|
||
);
|
||
}
|
||
/**
|