backdrop-ops / forum.backdropcms.org

The Forum for BackdropCMS.org.
https://forum.backdropcms.org/
4 stars 10 forks source link

Auto-block users for bad behavior #15

Open jenlampton opened 7 years ago

jenlampton commented 7 years ago

As a moderator, I would like users to be automatically blocked for bad behavior on the forums. Qualifiers for bad behavior may be adjusted over time, but two easy qualifiers are:]

Technical details: This could be accomplished using Rules, but it would likely be less burden on maintainers and the backdropcms.org server if we used custom code, or a contributed module specific to this task. Keep in mind that we will need to react to a Flag

docwilmot commented 7 years ago

less burden on maintainers

This is not an endorsement of Rules, but just an observation that for this issue, and many of the others for this forum project, a bunch of Rules configs long term sound easier to change/manage than several different modules. Even before considering needing to port these other modules.

But there is apparently not much objective testing of Rules performance.

jenlampton commented 7 years ago

Re my personal opinion on rules: it is a user-interface for writing if statements. An if statement is about 3 lines of code, Rules module is significantly more than that. In most cases, a rule will never need to be changed after it is first set-up, so there's no need to support a user interface. Providing a UI is not only unnecessary, but also presents (possible) performance implications, and (possible) security implications. IMHO there's no need to add any of those risks to a site that - if successful - will need our attention in other more important areas :)

a bunch of Rules configs long term sound easier to change/manage than several different modules

Since Rules provides a UI for the "if" part of things, those other modules will likely still be necessary. Each other module will still need to provide the "then" part of the Rules equation.

docwilmot commented 7 years ago

Reasonable.

ghost commented 3 years ago

I see the points made against using Rules here, but one benefit of them is the ability to go to a single page and see all the things that can happen when different events occur. As it is now, I can see the list of Flags, but I don't know which are being used, or where...

ghost commented 3 years ago
  • An existing user account has 5 separate comments that are flagged as Spam or Abusive
  • A brand new user account has 3 separate comments that are flagged as Spam or Abusive

How long is a user account 'new' before it becomes 'existing'...? I.e. A user creates an account and starts getting flagged as spam over a period of time. Where's the line between getting blocked after 3 flags or 5 flags?