}
@Override
public void createEntity(ActionMessages errors, LoadForm form, Hashtable<String, Object> attributes, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
{
UserVO activeUser = (UserVO) request.getSession().getAttribute(Globals.USER_KEY);
RoleVO role = new RoleVO();
role.setAccessUser(EntityAccess.Access.WRITE_SYSTEM);
role.setOwnerUser(activeUser.getId());
role.setAccessGroup(EntityAccess.Access.NONE);
role.setOwnerGroup(activeUser.getProfile().getDefaultUsergroup().getId());
role.setAccessGlobal(EntityAccess.Access.WRITE_SYSTEM);
List<UserVO> users = new ArrayList<UserVO>();
attributes.put("role", role);