Skip to content

Add trigger support for files (i.e beforeSaveFile, afterSaveFile, etc.) #6340

Closed
@stevestencil

Description

@stevestencil

Is your feature request related to a problem? Please describe.
Currently there is zero authentication or customization of files via hooks.

Describe the solution you'd like
Just like we have beforeSave, afterSave, etc. for Objects. Having the ability for beforeSaveFile, afterSaveFile, etc. would allow for different authentication, validations, file name changes, meta data, etc. when saving files. This would allow the ability to implement a file tracking class that would then allow for easily deleting files from file storage when they're no longer needed.

Describe alternatives you've considered
building my own middleware in front of Parse

Additional context
I have no problem building this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:featureNew feature or improvement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions