Add Moderation Role and Feature
BRIEF
We are looking to create a moderation feature for data annotations (comments and events), so that users can report a comment or event to the FieldKit team if they believe it violates community standards, and the FieldKit team can
TASKS
- Add new FieldKit role called "moderator"
- This "moderator" role sits above the "project admin" role (Jacob will manually assign this role to someone)
- It sits across all projects
- It can be assigned to multiple admin users/email addresses
- It does not appear on the front end e.g. project page - it is a hidden role
- "Moderators" should be able to delete comments or events from anyone so that they can control the discussion related to their research
- The same function users have to edit/delete their own comment or event will be available to moderators, except they will only have the option to delete comments or events
-
On the front end, on the Project and Data pages, add “Report” function for users to report a comment or event to us if they believe it violates community standards
- Add a “Report” link on each comment or event on the front end
- When a user hits "Report" it sends an email to the "moderator" role admin users/email addresses
- **In the portal admin (**https://portal.fieldkit.org/admin****),*****https://portal.fieldkit.org/admin*****In the portal admin (https://portal.fieldkit.org/admin), create a new section called "Moderation"
- This new "Moderation" section contains listings of comments or events that have been reported for moderation, ordered by date reported (oldest first)
- When logged in, the "moderator" can hit "Acknowledge"on each listing
- Hitting "Acknowledge" removes this listing from view and puts a flag on this item in the DB
Edited by Susan Allen


