Skip to content

Allow populating datasets from a selection

https://redmine.teklia.com/issues/11578

The PopulateDataset endpoint should have a new use_selection boolean field defaulting to False. When it is set to True:

  • parent_id cannot be used.
  • recursive cannot be used.
  • The selection feature flag must be enabled.
  • DatasetPopulateSerializer.filter_elements should only return elements from the dataset's corpus that have been selected by the user.