Add drush unban commands

Created on 21 October 2025, 3 months ago
Updated 28 October 2025, 3 months ago

Problem/Motivation

Currently, the module page shows SQL queries to execute for unbanning.

Having dedicated

ban:unban:all
ban:unban:ip

commands would be better DX and should be self-explaining.

As flood_control already has this for its own tables, this should be a simple novice task to do the same for the ban tables:
https://git.drupalcode.org/project/flood_control/-/blob/3.0.x/src/Comman...

Steps to reproduce

Try unbanning an IP using drush - currently needs custom SQL commands.

Proposed resolution

Implement

ban:unban:all
ban:unban:ip

drush commands like flood_control does.

Remaining tasks

Implement
Test
Release

User interface changes

None

API changes

None

Data model changes

None

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Merge request !4Resolve #3553606 "Add drush unban" → (Open) created by lrwebks
  • Pipeline finished with Failed
    about 2 months ago
    Total: 162s
    #678512
  • Pipeline finished with Success
    about 2 months ago
    Total: 151s
    #678575
  • Pipeline finished with Failed
    about 2 months ago
    Total: 155s
    #678775
  • Pipeline finished with Canceled
    about 2 months ago
    Total: 217s
    #678817
  • Pipeline finished with Canceled
    about 2 months ago
    Total: 84s
    #678819
  • Pipeline finished with Canceled
    about 2 months ago
    Total: 85s
    #678820
  • Pipeline finished with Success
    about 2 months ago
    Total: 151s
    #678822
Production build 0.71.5 2024