-
Notifications
You must be signed in to change notification settings - Fork 11
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
Apply content warning screens for banned users #1807
Conversation
fc0aaea
to
8006cc4
Compare
75730d1
to
e2aaeed
Compare
5372deb
to
4aff25d
Compare
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.
@jayjay-w still have uncovered lines
app/models/concerns/team_rules.rb: 164
lmk if you need a help to add a missing tests
d58c371
to
4aff25d
Compare
When a user is banned and their submissions are still being consumed by other users, we wil now automatically apply content warning screens to their ProjectMedia.
4aff25d
to
d3570fb
Compare
Code Climate has analyzed commit d3570fb and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (100% is the threshold). This pull request will bring the total coverage in the repository to 100.0% (0.0% change). View more on Code Climate. |
Description
When a user is banned and their submissions are still being consumed by other users, we will now automatically apply content warning screens to their ProjectMedia.
References: CV2-3582
How has this been tested?
Things to pay attention to during code review
Ban a user and confirm that all of their project media will be flagged as 'Spam'
Checklist