@SuppressWarnings("unused")
public ActionForward modify(ActionMapping mapping, ActionForm form, HttpServletRequest req, HttpServletResponse resp) {
GroupEnterOrEditForm groupEnterOrEditForm = (GroupEnterOrEditForm) form;
GroupManager groupManager = new GroupManager(locale,session);
Group group = groupManager.getGroup(groupEnterOrEditForm.getGroupId()); // groups never get deleted => always found
groupEnterOrEditForm.modifyGroup(group, locale, session, getResources(req),req.isUserInRole(UserManagerBase.ADMINISTRATOR));
checkAccessRights(req, group);
groupManager.modifyGroup(group);
return mapping.findForward("modified");
}