#4129 - Reasoned bans
| Identifier | #4129 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | Reasoned bans |
| Status | Completed |
| Tags |
Roadmap: v11 (custom) Type: Spam (custom) |
| Handling member | Chris Graham |
| Addon | core_cns |
| Description | Rather than banning being a binary, allow a ban to be set to the ID of configured 'scare bans'. This would be a new resource type that admins could add/edit/delete. Each scare ban can define:
- Which HTTP response to use: 403 (access denied) or 451 (unavailable for legal reasons). - A title for the ban screen) - A message for the ban screen, supporting some default parameters like {IP_ADDRESS}. - An optional image for the ban screen - An optional URL to redirect the user to |
| Steps to reproduce | |
| Additional information | For example, for the Pakistani spammers targeting us we may:
- Give HTTP 451 - Give a title: VIOLATION OF ORDINANCE NO. LXXII OF 2007 (THE PREVENTION OF ELECTRONIC CRIMES ACT, 2016) - A message that says "Your account has been found in violation of Ordinance LXXII <link http://www.lawsofpakistan.com/wp-content/uploads/2016/07/the-prevention-of-electronic-crime-act-2016.pdf>. Your account is therefore banned, pending possible legal action to the human behind {IP_ADDRESS}. This feature is pretty flexible. It doesn't have to be used with legal arguments, it could redirect people who were banned for far-right tactics, or Islamist tactics, to something designed to deprogram people who have been radicalised. |
| Related to | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
I won't have an image field, as the message field will be Comcode, so you can just add it in there. I'll document an example.