Skip to content
This repository was archived by the owner on May 26, 2020. It is now read-only.

Add onBeforeDelete and onAfterDelete for plug ins #556

Open
schnuti opened this issue May 30, 2018 · 1 comment
Open

Add onBeforeDelete and onAfterDelete for plug ins #556

schnuti opened this issue May 30, 2018 · 1 comment

Comments

@schnuti
Copy link
Collaborator

schnuti commented May 30, 2018

MM adds onBeforeSave and onAfterSave events but onBeforeDelete and onAfterDelete are also needed.

One example that might be of interest those days. (EU's GDPR)
A plug-in keeps track of the created (uploaded) files in a db table including user-id (right to information on own data).
A second plug-in should check user authorization before deleting the file and delete the table entry after deleting. (right to remove data)

How to delete all user data including his uploaded images is a much larger issue.

I find this relevant but there are other examples where the delete events would be needed. #

@schnuti
Copy link
Collaborator Author

schnuti commented Jun 5, 2018

Do not forget the not yet implemented Cut/Copy/Paste functionality. The events are needed there as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant