[wp-trac] [WordPress Trac] #43767: Auto Delete Users after a period of time
WordPress Trac
noreply at wordpress.org
Fri May 4 11:47:41 UTC 2018
#43767: Auto Delete Users after a period of time
-------------------------+------------------------------
Reporter: David 279 | Owner: (none)
Type: enhancement | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: gdpr | Focuses:
-------------------------+------------------------------
Comment (by David 279):
Replying to [comment:6 iandunn]:
> As an alternative, the admin could be periodically presented with a
report that shows inactive users, and given the chance to prune them,
similar to how admins are shown that plugins need to be updated.
>
> And of course, it'd be easy to add filters, etc, so that a plugin could
change the default behavior and turn on automatic deletion/anonymization,
if that's what the site owner wants.
That's a workable solution, so long as we have a way of
a. Recording when each user last logged into the site
b. Automatically notifying the Admin when users have not logged in after
an admin determined period of time
c. The time period needs an over ride when sales are involved again this
needs an admin defined setting in order to comply with different countries
laws.
It may actually be better to instead set a notification date rather than a
last recorded visit date, you just need a way of comparing dates and only
changing the notification date when that date would be further away than
is currently set.
If this were really useful the sales notification date would take the
financial year into account, this is because the holding of accounting
records is typically based on the financial year plus x number of years so
as an example in the UK the Fiscal Year (for companies) runs from the 1st
of April until the 31st of March, whilst for individuals tax purposes it
runs from the 6th of April until the 5th of April the following year, UK
Accounting law requires records to be kept for 6 years from the end of the
tax year, so any company sales records between 1st April 2017 and 31st
March 2018 can all be deleted on the 1st April 2024
Obviously this sales date setting would probably need the likes of
woocommerce to write into their code but the ability for the notification
date to be set via sales or login date needs to be within the core.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43767#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list