Skip to content

Update append endpoint to not overwrite #618

Open
@bgins

Description

@bgins

@expede and I were discussing the in-progress append endpoint feature on the append-endpoint branch. In the current implementation, files that are uploaded to the endpoint will replace existing files, an action which should require Destroy or Super_User capability.

Appending should not replace files, but instead it should keep copies of the old files available when adding a new file with the same name.

A bit of design will be needed here. Say a user has previously uploaded a cat.jpg to an app. Later, they upload a second file also named cat.jpg. Is the original file renamed to cat2.jpg? Or should the new file be named cat2.jpg?

Let's discuss our options and how they will work for developer use cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions