nlhkabu / connect

Connect is a moderated web application that helps members connect with each other based on skills, interests and location.
http://whoisnicoleharris.com/connect/
BSD 3-Clause "New" or "Revised" License
46 stars 25 forks source link

Hide moderation logs from moderator when the subject is an abuse report they have made #42

Open nlhkabu opened 9 years ago

nlhkabu commented 9 years ago

Example scenario:

Sam is a moderator and reports Alex for inappropriate behavior.
This abuse report is dismissed by another moderator.
When Sam views the moderation dashboard, Sam can see a log of the dismissal.

In the case above, Sam should not be able to see the moderation log. I am not sure this is possible with the current data structure as the moderation logs do not reference the user who reported the abuse - only the reported user (in this case Alex) and the moderator who made the decision.

We could introduce a FK relationship to AbuseReport for this case, or simply add another User field to ModerationLogMsg to account for this situation.

┆Issue is synchronized with this Asana task