- Issue created by @Anybody
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
The reason this is highly bound to the UI is because it uses batch to eg reassign all the content
If we move it to a method on the user it would have to return a batch array that the caller would need to provess
- π©πͺGermany Anybody Porta Westfalica
Thanks for the quick response and clarification @larowlan! I think that doesn't have to be a blocker.
This method could be kept for UI-level with batch API but at User Entity level we could implement an API method to handle user cancel like the UI does and not only a "hard"
->delete()
. So we have the best of both worlds, what do you think? :)Makes tagging this with "API-First Initiative" sense?
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
We would need something like a background queue to process the cancellation
β¨ Provide a Entity Handler for user cancelation Needs work is also related.
I think if you're using an API, blocking the user is probably the simplest approach as that can be safely completed without batch.