@SuppressWarnings("unused")
	@GetMapping("/new")
	@PreAuthorize("hasAnyRole('A')")
	public Map<String, Object> openForm(User user) {
		User one = User.createNew();

		Map<String, Object> viewConfig = new HashMap<>();
		viewConfig.put("allowUserIdChange", true);
		viewConfig.put("allowPasswordChange", true);
		viewConfig.put("allowRoleChange", false);
		viewConfig.put("roleSet", EnumSet.allOf(Role.class));
		viewConfig.put("allowShareChange", true);
		viewConfig.put("showPasswordByDefault", true);
		viewConfig.put("userSecurityEnabled", config.isUserSecurityEnabled());

		Map<String, Object> model = new HashMap<>();
		model.put("user", one);
		model.put("config", viewConfig);
		return model;
	}
Get user creation form page.

@param user current user
@return app
ngrinder-controller/src/main/java/org/ngrinder/user/controller/UserApiController.java