Ajouter role PC Member au chairman (à l'ajout de conference)

This commit is contained in:
Jialin Wang
2008-02-24 20:17:25 +00:00
parent 7227de0598
commit e7c9942b71

View File

@@ -484,6 +484,7 @@ public class AddConferenceController extends AbstractWizardFormController {
} }
conferenceManager.addRole(RoleType.CHAIRMAN, SessionService.getInstance().getCurrentUserLogin(), conf.getId()); conferenceManager.addRole(RoleType.CHAIRMAN, SessionService.getInstance().getCurrentUserLogin(), conf.getId());
conferenceManager.addRole(RoleType.PCMEMBER, SessionService.getInstance().getCurrentUserLogin(), conf.getId());
// Refresh the roles to take into account the chairman credentials // Refresh the roles to take into account the chairman credentials
SessionService.getInstance().refreshAuthentication(); SessionService.getInstance().refreshAuthentication();
} else if (action.equals("modify")) { } else if (action.equals("modify")) {