seek4science / seek

For finding, sharing and exchanging Data, Models, Simulations and Processes in Science.
http://www.seek4science.org
BSD 3-Clause "New" or "Revised" License
74 stars 52 forks source link

Allow deletion of unauthorized samples via batch upload and log failed samples #1936

Open NielsGeudens opened 1 week ago

NielsGeudens commented 1 week ago

Context Currently, when performing a batch upload of samples via a CSV file in an ISA-compliant assay, users encounter an issue if the file contains info for existing samples for which they lack edit permissions. Specifically, if any sample in the batch is unauthorized, the entire upload process is halted, and users must manually adjust the CSV file and reattempt the upload. This process could be time-consuming and frustrating, especially when dealing with large datasets.

Current Behavior

Proposed Enhancement

  1. Delete Button for Unauthorized Samples:

    • Introduce a delete button in the model form that allows users to remove unauthorized samples from the batch upload list.
    • This functionality already exists for authorized samples and should be extended to handle unauthorized samples.
  2. Upload Log for Unauthorized Samples: