securityFilter = getSecurityFilter(layer, securityContext.getCreateAuthorizedArea(layerId));
} else {
securityFilter = getSecurityFilter(layer, securityContext.getUpdateAuthorizedArea(layerId));
}
if (securityFilter.evaluate(feature)) {
context.put(PipelineCode.FEATURE_DATA_OBJECT_KEY, layer.saveOrUpdate(feature));
if (isCreate) {
newFeature.setId(featureModel.getId(feature));
}
} else {
if (isCreate) {