100% Free · Open Source GPLv2 · Zero setup requiredGet the Plugin

Opens in a new tab
ITX UserOps
Premium

Inactive account automation

Turns the inactivity report into policy. Preview it before you enable anything destructive.

The free plugin tells you who has not signed in. This acts on it.

KeyDefaultMeaning
inactive.enabledfalseMaster switch. Nothing runs while false
inactive.days—Days of inactivity before acting
inactive.action—notify_user, notify_admin, disable, disable_delete
inactive.delete_days—Days after disable before delete
inactive.exempt_roles—Roles never touched

Evaluated daily against each account's last activity and last login, falling back to registration date for accounts that have never signed in.

Administrators are always exempt

Not by default — always. The administrator role cannot be swept by this rule regardless of configuration.

An automated job that could disable every administrator on a quiet site is not a feature.

The four actions

  • notify_user — email the account holder. Start here. It is reversible by definition and it tells you how many people you are about to affect.
  • notify_admin — email you a list instead.
  • disable — closes access, deletes nothing, fully reversible.
  • disable_delete — disables, then deletes after delete_days.

Deletion only touches accounts this rule disabled

Accounts disabled by this rule carry a marker, _itxuo_inactive_disabled_at, and the delete phase only ever deletes accounts carrying it.

An account you disabled by hand, for your own reasons, is never swept up by the delete phase — even if it has been inactive for years. That separation matters: the two disables mean different things and it would be wrong to conflate them.

Preview before enabling

The dry-run endpoint shows exactly what the next run would do. It is required reading before you enable anything destructive, and the interface puts it in front of you rather than in a help article.

disable_delete deletes real accounts on a schedule with nobody watching. On a store that means deleting customers, and a deleted customer takes their order history's user link with it. Preview it, then consider whether disable alone is enough — a disabled account costs you a database row and keeps every option open.

Interaction with workflows

Instead of a bare disable, the rule can run a full offboarding workflow, so reassignment and notification happen as part of the same action.

What gets logged

Notifications sent, accounts disabled, accounts deleted — each with the rule as the actor, so the log distinguishes an automated sweep from an administrator's decision.

Log in

Vote on ideas, submit your own and join the discussion.