====Background
Per the [[ https://foundation.wikimedia.org/wiki/Policy:Access_to_temporary_account_IP_addresses#Patrollers_and_other_users | foundation policy ]] users granted rights to see temporary account IP addresses through autopromotion should have these removed if they have made no edits or logged actions over the last year:
> In order to maintain access to the IP addresses of temporary accounts, users in this category must edit or take a logged action to the local project at least once within a 365-day period.
==== Specification
* A user who has been manually granted Temporary Account IP Viewer right will lose their access after 365 days of inactivity
** Inactivity is defined as no edits or logged actions (not including private actions)
** They will no longer have the option to enable viewing IP addresses for temp accounts from Special:Preferences (`ENABLE_IP_REVEAL`)
** The above will also apply to IP Info. They will lose that access and lose the option to enable it from Special:Preferences. (`IPINFO_USE_AGREEMENT`)
*** These preference disables are logged in the relevant log (ip info or temporary account)
** The user will have to re-apply for the permission from their local community to regain access.
*** If the user is manually granted the permission again, they will have to re-enable their access from Special:Preferences and agree to the terms of access.
** This only applies locally (since manual granting happens locally). If a preference has a global setting, add a local override.
** A log entry is created in the user rights log with the comment as follows: //Temporary Account IP address access for [[User:...]] was revoked due to inactivity.//
==== Acceptance criteria
[] The inactivity removal has been implemented in line with the specifications