txAdmin icon indicating copy to clipboard operation
txAdmin copied to clipboard

[FEATURE]: Option to revoke all bans/warns

Open tens0rfl0w opened this issue 1 year ago • 2 comments

Scope

Web

Feature Description

Currently, you can only clear all bans/warns from a player's history to revoke active punishments. An option to just revoke every active ban/warn could be useful.

Use Case

When removing all bans/warns you sometimes still wanna keep a history of previous bans/warns for context. Let's say you're doing a "ban" clear that some servers regularly do. Still having previous bans in a player's history can be useful in determining future punishments.

Proposed Solution

Master Actions -> Clean Database -> Revoke all bans/Revoke all warns

Additional Info

No response

tens0rfl0w avatar Feb 09 '24 20:02 tens0rfl0w

Interesting idea.
Although I don't think anyone requested this in the past, I do see it being useful.

In practice, what do you think it would look like?
Probably separate options for bans and warns?
Which filter options would be available? (just like in the clean database option tab)

tabarra avatar Feb 10 '24 09:02 tabarra

Placement in the UI is a good question, "Clean database" probably isn't a good option, as this doesn't really "clean" anything.

Maybe a new subcategory in the "General" Master Actions tab or somewhere at the bottom of the players tab would be an option?

For filters, I would propose something similar to the "Clean Database" tab. While I mainly thought about this for just revoking any active bans/warns, an option to choose a recent timeframe (like 1 hour, 12 hours, 1 day...) would make sense to counter some "wrong actions" executed by a compromised/whatever admin account.

And yeah, IMO this should be separated by bans/warns and not combined into one single option.

tens0rfl0w avatar Feb 10 '24 15:02 tens0rfl0w