Show why a project is blocked in the admin panel #29030
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
LP-352
We'd like to give admins more insight into why a project is blocked from sharing. There are four reason why a project could be blocked:
1.) Sharing is disabled for the owner
2.) There is potentially profane or private information in the project text, caught by WebPurify
3.) There is a potentially inappropriate image associate with the project, caught by image moderation
4.) The project has been manually reported for abuse enough that the abuse threshold is reached
In this change, I expose which (if any) of these criteria have been met in the admin panel for projects.
Examples
Safe to share:
Sharing is disabled:
Manual abuse reports:
Both sharing is disabled and manual abuse reports:
Upcoming work: