FeatureFuel
47

Option to auto delete file when related item is deleted from collection.

Source: directus/directus#17853 · opened by @Posoroko
Summary When creating a field of type "file" or "image", you have the option to auto delete the file if the image is deleted from the item, or the item is deleted from the colelction. Basic Example _No response_ Motivation I use directus to build simple to use app for clients. One thing I use it for is to build photo galleries. A collection of Photo_albums in wich the user can create albums and add images in them. classic. But often, these albums are not meant to exist for a long time. So if you delete an album from the collection, you then have to go in the file library to delete the files. That is not very practical. And I realised that some clients won't take the time to do this. So the files are piling up and things become messy. Detailed Design in the field's options: When the image is deselected in the item: 1) delete the file 2) keep the file 3) prompt the user ("Do you want to delete the related file?") When the item …

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests