$GLOBALS['TYPO3_DB']->exec_UPDATEquery('fe_rights','fe_rights.fe_user_id='.$user_id.' AND fe_rights.project_id='.$project_id,array('fe_rights.right_id'=>$right));
}
/**
* Add a new member to the project.
*
* @param int $user_id the user id
* @param int $project_id the project id
* @param int $right the right id (0=member, 1=manager, 2=admin)