Ability to edit a resource's attachment ๐
Closed this issue ยท 2 comments
ramiAbdou commented
Description
Currently, a member can post a resource with an attachment, but can't edit the attachment after. This issue should introduce the ability to do so.
Acceptance Criteria
When a member (who posted a file-based resource) clicks edit, it should show the attachment field. They should be able to see the already uploaded file, and they should also be able to upload a different file. If they choose a different file, then any previous files should be deleted both in the database and from cloud storage.
Additional Context
Here is the ResourceAttachmentField
, which controls the file input.
arelymartinez16 commented
I would like to work on this :)
tomas-salgado commented
@arelymartinez16 all yours!