Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 388988

Summary: Remove workspaces and projects when removing users
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ServerAssignee: Aidan Redpath <aidanr>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 6.0 RC3   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2012-09-06 14:55:05 EDT
I20120605

When a user is deleted, we don't delete their workspace or projects. It's not clear whether this should always happen or not. For example when self-hosting on localhost I might not want my user data deleted.

See WebUser.delete()

The other approach to be considered is having a separate admin-level utility for deleting orphan content. See bug 357566.
Comment 1 John Arthorne CLA 2014-06-09 11:17:05 EDT
Let's put up a warning, but go ahead and delete user contents when user is deleted. When self-hosting there is rarely a need to delete the user.
Comment 2 Aidan Redpath CLA 2014-06-10 11:21:51 EDT
I tested this and it is already resolved.
Comment 3 John Arthorne CLA 2014-06-11 21:24:41 EDT
We should make it clear this will happen in the warning message. Currently the warning does not say anything about the user's data being removed.
Comment 4 Aidan Redpath CLA 2014-06-12 11:57:10 EDT
https://git.eclipse.org/r/#/c/28383/2