1
File delete hooks on user deletion hook
Source: nextcloud/server#14004 · opened by @stalker314314
File delete hooks on user deletion hook: Nextcloud have (pre|post)Delete hooks for both files and users. However, when user is deleted, all its files are gone too, but apps do not receive file delete hook, just user delete hooks. If app is dealing with user's files and keeping them internally and need to delete internal records when file is removed (basically - any app that subscribes to postDelete file hook) will end up with rows that cannot be cleaned up once user is deleted. Impact is that internal state (database) is getting bigger, and app developer need to hook into...
No pledges yet. Be the first to back this.
Comments
Similar requests
Option to disable the deletion of files within a subtree if the the folder is protected from deletion
0 votes · 0 comments
Move hooks and emitters all to the eventdispatcher
1 vote · 0 comments
Add context to login hooks
0 votes · 0 comments
Batch deletion : replace "Delete and unshare" (weird) with "Delete and leave share(s)" (more relevant and clear)
0 votes · 0 comments
Admin audit: Log content of deleted folder
1 vote · 0 comments
No comments yet.