Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,850
    • Issues 44,850
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,335
    • Merge requests 1,335
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #23511
Closed
Open
Issue created Jul 31, 2018 by M. Serhat Dundar@msdundar🦈

A user should be able to be reported more than once by various users

Hi,

Lately I have been exploring the AbuseReport model and the related code, and I noticed an interesting behavior - it's not possible to report a user more than once as abuser.

As you know, an AbuseReport can be created from issues, merge requests, notes and from the profile of a user. So it's possible to say there can be multiple abuses by the same user, that can be reported by other multiple users.

For example a user may be using an offensive language in an issue, while spamming in a merge request - should be able to be reported multiple times by different users.

On the other hand, the current behavior is confusing for users. Imagine, when a user tries to report another user and gets 'already reported' message while he/she didn't reported that user before - simply because someone else has already reported the abusing user.

  • Additionally, the User model designed as 'has_one :abuse_report' as a result of the same assumption.

I suggest modifying the code for fixing this issue. I also created an MR related to this issue.

Best regards.

Edited Jul 31, 2018 by M. Serhat Dundar
Assignee
Assign to
Time tracking