accessControlModel.setUserId(userId);
Option<AccessControlTeamMap> mapOption =
accessControlMapService.parseAccessControlTeamMap(accessControlModel);
if (mapOption.isValid()) {
AccessControlTeamMap map = mapOption.getValue();
map.setUser(user);
String error = accessControlMapService.validateMap(map, mapId);
if (error != null) {
return RestResponse.failure(error);
} else {