-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Abandoned]#162163282 Users can report Articles that violate terms #28
Conversation
7e8d494
to
990ed5a
Compare
|
||
if errors is not None: | ||
|
||
return super(ArticleListReportJSONRenderer, self).render(data) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
henry, you missed testing this renderer class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get but I tested almost every functionality
But that line remained, however, my coverage passes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think reporting should not automatically remove an article, It should be the admin to remove the article after verifying that this is not a false positive.
Admin should also be able to dismiss false positive reports
Users can report articles that violate the terms of use. An article can oly be reported a maximum of five times Admins/superusers can restore reported articles When an article is reportes five times, it is removed from published articles Only admin can view a list of reported articles and also delete or revert them [Delivers #162163282]
3cde6cf
to
9e0ffdd
Compare
What does this PR do?
This PR delivers a feature for users to report articles that violate terms
Description of the tasks to be completed?
End points workin
How should this be manually tested?
Screenshots
What are the relevant pivotal tracker stories
#162163282