I’m not exactly sure what happens either, all I can tell is that the user is no longer visible in the user list, but the xwikiobjects table contains several records related to that no longer existent user.
e.g.
*SELECT xwo_number, xwo_classname FROM xwikixwiki.xwikiobjects where xwo_name like ‘XWiki.aaryn%’;
xwo_number |
xwo_classname |
7 |
XWiki.Notifications.Code.NotificationPreferenceClass |
6 |
XWiki.Notifications.Code.NotificationPreferenceClass |
5 |
XWiki.Notifications.Code.NotificationPreferenceClass |
4 |
XWiki.Notifications.Code.NotificationPreferenceClass |
3 |
XWiki.Notifications.Code.NotificationPreferenceClass |
2 |
XWiki.Notifications.Code.NotificationPreferenceClass |
1 |
XWiki.Notifications.Code.NotificationPreferenceClass |
0 |
XWiki.LDAPProfileClass |
0 |
XWiki.WatchListClass |
0 |
XWiki.XWikiUsers |
0 |
XWiki.Notifications.Code.NotificationPreferenceClass |
0 |
Dashboard.UserDashboardPreferencesClass |
0 |
XWiki.XWikiRights |
How does xwiki normally handle user deletion - assuming we are only using xwiki user logins. Does it clean up the notifications of users no longer in the system? Do pages created and owned by that user still show who edited it? Does the ownership get reassigned?
Hmm, I may have to setup another installation to find out what happens under these circumstances. Whatever it is, the ldap implementation should be doing the “same thing”