Skip to content

Add direct action to block this participant #10037

@andreslucena

Description

@andreslucena

Ref: SPAM05

This proposal was original created by @PierreMesure and available at
https://meta.decidim.org/processes/roadmap/f/122/proposals/16929

There are a changes introduced by @decidim/product improving on it but the general idea comes from that proposal.

Is your feature request related to a problem? Please describe.

The current workflow to moderate inappropriate block spam participants is cumbersome.

If an admin detects either while browsing the platform from the frontend, they have to report them using the flag button, just like any other participant. Then, they need to go to the moderation tab in the admin panel and block from there.

This extra step takes time and can be hard to do for admins who aren't familiar with Decidim.

Describe the solution you'd like

Admins (and content moderators) will have an additional option on the frontend that will allow them to perform the action without going to the backend. This option will not be visible to normal participants.

See screenshots below for a suggestion of how it could look like.

Some details about how this will work:

  1. There will be a new checkbox "Block this participant". If it's not clicked, the flow will be the same as usual (Report).
  2. If the "Block this participant" is clicked, a new checkbox appears, "Hide all their contents"
  3. If the "Block this participant" is clicked, the "Report" button will change to "Block"
  4. After its "Block" button is clicked, it'll go directly to the "Block User XXX" (justification) form.
  5. If the "Hide all their contents" was checked, the "Block User XXX" (justification) form will have a callout message: "With this action you will also hide all the participants contents. If you want to only report or block their account, go back to its profile and report again."

Additional context

There are democratic implications to this because this will make the moderation process easier for admins. This could lead to an increase in abusive takedown of content. That being said, it is already possible today for an admin to abusively takedown content using the moderation tools.

To make sure that the content is only moderated when it should, the actions are included in the current workflow, an administrator/moderator only can hide all their content or block directly from the participant profile page so they can check the contents.

This was also proposed on https://meta.decidim.org/processes/roadmap/f/122/proposals/15224

Could this issue impact on users private data?

No.

Funded by

Decidim Association

Does this issue could impact on users private data?

No.

Acceptance criteria

  • Given that I'm a regular user
    When I go to report an inappropriate user
    Then I don't see the "Block this participant" checkbox.
  • Given that I'm an administrator or a moderator
    When I go to report an inappropriate user
    Then I have a checkbox with the action "Block this participant"
    And when I click this checkbox,
    Then the button changes to "Block"
    And when I click the button
    Then I go to the "Block User XXX" (justification) form
  • Given that I'm an administrator or a moderator
    When I go to report an inappropriate user
    Then I have a checkbox with the action "Block this participant"
    And when I click this checkbox,
    Then I have a new checkbox "Hide all their contents"
    And when I don't check the "Hide all their contents" checkbox
    And when I click the button
    Then I go to the "Block User XXX" (justification) form
    And I don't see any new callout message
  • Given that I'm an administrator or a moderator
    When I go to report an inappropriate user
    Then I have a checkbox with the action "Block this participant"
    And when I click this checkbox,
    Then I have a new checkbox "Hide all their contents"
    And when I check the "Hide all their contents" checkbox
    And when I click the button
    Then I go to the "Block User XXX" (justification) form
    And I see a callout message: "With this action you will also hide all the participants contents. If you want to only report or block their account, go back to its profile and report again."
    And when I block the participant
    Then all their contents are also hidden.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions