API Endpoint for comment moderation

Description

Make it possible to PUT to an individual comment report state whether the report is approved (i.e. we agree with the report and the comment should be removed from the site) or denied (this comment should not have been removed).

Only event and site admins can do this operation, the PUT request should have the field "decision" with the value "approved" or "denied" in it. The appropriate reported_*_comments table should then be updated with the decision as well as the current date/time and the user who sent this request.

If the report is denied, then we also need to update the talk_comments or event_comments fields as appropriate to set active to 1 again.

Status

Assignee

Rob Allen

Reporter

Lorna Mitchell

Labels

None

Epic Name <span class="error">&#91;deprecated, this field is no longer being used&#93;</span>

None

Epic Link

Components

Priority

Major