Details
- 
    Improvement 
- 
    Resolution: Fixed
- 
    Major 
- 
    6.4.4, 7.0.1
- 
    None
Description
When deleting a user from XWiki, an Admin can't easily see/understand the impact that it's going to have in his wikis.
Ex: I'm deleting a user which is gone from my company and this user had, at some point, saved a page with programming rights. If I confirm the suppression, the said page won't work any more and may even impact a lot more than itself.
Proposal
When a user is deleted
- Check all pages saved with this user for programming right issue
- Display all pages impacted and propose the following options BEFORE allowing the page suppression
	- (Default) Warn the admin by email (or by the notification system of 7.X) that those pages need to be resaved
- Resave those pages with my user (or "XWiki.Admin" user if I am a member of XwikiAdminGroup)
 
PS: The same behaviour may apply when a user is moved out of an Admin group and that the user is in no admin group any more including righs on the check pages.
Attachments
Issue Links
- depends on
- 
                    XWIKI-16361 Show a warning message when an user with Programming or Script Right is about to be deleted -         
- Closed
 
-         
- 
                    XWIKI-14343 Make Livetables use IconThemes -         
- Closed
 
-         
- is duplicated by
- 
                    XWIKI-12141 Deal with inactive users profile's -         
- Closed
 
-         
- is related to
- 
                    XWIKI-17897 Deleting a user should anonymize all entries in order to be GDPR conform -         
- Open
 
-         
- relates to
- 
                    XWIKI-15418 Users should not be able to delete their profile unintentionally -         
- Closed
 
-         
- 
                    XWIKI-15695 Prevent deleting a user who is the last content author of extension pages -         
- Open
 
-         
- 
                    XWIKI-21064 Show a warning message when a user is removed from a group which results in them losing Programming or Script Right -         
- Open
 
-         
- 
                    XWIKI-16586 Allow to enable/disable users from administration -         
- Closed
 
-         

