<p>Right now there is no "direct" way to report user who behave incorrectly, apart from the <a href="http://wiki.openstreetmap.org/wiki/Spam">Spam wiki page</a>, which isn't easy to manage.</p>

<p>I tried to start implementing this, but having no prior RoR experience slow me down much, so I figured I should describe here what could be implemented :</p>

<p>A simple "Report" link added next to "Add a friend" on the user profile, leading to page where a logged-in user could select a reason from a drop-down list, and maybe add a comment, to report an abusive user.</p>

<p>The Report model would contain these fields : </p>

<ul class="task-list">
<li>emitter (User who click "report")</li>
<li>reported (User reported)</li>
<li>date</li>
<li>reason (enum of reasons)</li>
<li>comment (text)</li>
</ul>

<p>Possible reasons : </p>

<ul class="task-list">
<li>diary spam</li>
<li>changeset spam</li>
<li>diary comments spam</li>
<li>changeset comment spam</li>
<li>GPX traces spam</li>
<li>abusive private messages</li>
<li>offensive avatar
It can be possible to group spam into one reason to simplify.</li>
</ul>

<p>The deletion of an user (either emitter or reported) must cascade and delete Reports.</p>

<p>A controller/view must also be added in order to allow admins/moderators to view and act on pending reports, grouping them by reported users.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/issues/841">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLaGwaK4aGT6xtpjqYLqGEUqQpo1Xks5nPj0BgaJpZM4C-rMw.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/issues/841"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>