Bug #18249 » 20080219_accessCheckWorkspaces.diff
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']);
|
||
}
|
||
?>
|
||
?>
|