Preserve existing ip bans when installing this module

Created on 4 January 2024, 6 months ago
Updated 14 February 2024, 5 months ago

Problem/Motivation

Follow up to Uninstall removes expired column, making all expired bans active again πŸ› Uninstall removes expired column, making all expired bans active again Fixed
When installing this module, existing IP bans will be marked as expired as the default for the expired column is 0.

Steps to reproduce

Ban an IP address, install this module, go to /admin/config/people/ban and see that the IP ban has expired.

Proposed resolution

During install, set the expired column to a time in the future.
If Add option to ban indefinitely (sort of) ✨ Add option to ban indefinitely (sort of) RTBC is going to be a feature, this could follow the same pattern on set it to 2038.

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom andybroomfield

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024