You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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.
The text was updated successfully, but these errors were encountered:
@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 requireDestroy
orSuper_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 namedcat.jpg
. Is the original file renamed tocat2.jpg
? Or should the new file be namedcat2.jpg
?Let's discuss our options and how they will work for developer use cases.
The text was updated successfully, but these errors were encountered: