Skip to content

Implement Soft-Delete for SCL-FilesΒ #464

@david-monichi

Description

@david-monichi

User Story

As an user

I want to be able to delete files

So that they are not visible via standard API but can be searched trough with an additional endpoint.

Acceptance criteria

  • Soft-Delete functionality must be disabled by default for an installation so that a system behaves as before without any additional changes.
  • The existing endpoints do behave as before even when soft-delete is enabled, which means that when the feature Soft-Delete is enabled files can't be accessed via existing endpoints and the system will return a 404 in such cases.
  • With an additional added search endpoint it's possible to search trough all SCD-Files (soft-delete or not soft-deleted), soft-deleted files will be marked as deleted
  • the backend will detect already deleted files and versions. Which means that a version can't be redistributed twice when a SCD-File has been soft-deleted und re-uploaded again. The system is aware of all previous versions and will handle versions conflicts over a given resource identified by there id.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions