Wiki source code of Inactive User Criteria
Last modified by superadmin on 2026/11/25 21:20
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | There is no last-login date to read, so an account is listed only when every condition below holds, each one being there because some category of legitimate account was being caught without it. | ||
| 2 | |||
| 3 | |=Condition|=Why it is there | ||
| 4 | |The profile page has not been modified for the past 30 days|Excludes accounts that have only just registered. | ||
| 5 | |The account produced no page creation, update or deletion event anywhere in the farm, apart from events on its own profile page|An account that ever edited a page is not inactive. Its own profile page does not count, because registering writes it. | ||
| 6 | |The profile page carries no ##XWiki.OIDC.ConsentClass## xobject|Such an account exists to authenticate against another application through the wiki, and may legitimately never touch the wiki itself. | ||
| 7 | |The profile page carries no ##XWiki.WatchListClass## and no ##XWiki.Notifications.Code.NotificationPreferenceClass## xobject|Registering only in order to follow pages is a legitimate use. This does not catch every case, since watch settings are now also stored elsewhere. | ||
| 8 | |The account owns none of the wikis of the farm|A wiki owner is never inactive. | ||
| 9 | |The account is not a [[protected user>>doc:documentation.extensions.admin.antispam.protected-users.WebHome]]|Protection applies to every AntiSpam operation, not only to this one. | ||
| 10 | |||
| 11 | An avatar is not a criterion: a profile with a picture can be listed like any other. | ||
| 12 | |||
| 13 | The event condition is the one to be careful with, because it is answered from the event store rather than from page histories. Removing events with [[Review the Latest Changes for Spam>>doc:documentation.extensions.admin.antispam.review-latest-changes.WebHome]] or [[Delete Spam Pages and Users>>doc:documentation.extensions.admin.antispam.delete-spam-pages-users.WebHome]] therefore makes accounts that were active in the past look inactive, and is the one way this screen can propose an account it should not. |