Project

General

Profile

Bug #18249 » 20080219_accessCheckWorkspaces.diff

Administrator Admin, 2008-02-19 11:13

View differences:

typo3/classes/class.workspaceselector.php (working copy)
* @return boolean true if user has access, false if not
*/
public function checkAccess() {
// FIXME - needs proper access check
return true;
$MCONF = array();
include('mod/user/ws/conf.php');
return $GLOBALS['BE_USER']->modAccess(array('name' => 'user', 'access' => 'user,group'), false) && $GLOBALS['BE_USER']->modAccess($MCONF, false);
}
/**
......
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/classes/class.workspaceselector.php']);
}
?>
?>
(1-1/3)