Skip to content
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

nsfw validation #267

Open
roadscape opened this issue Oct 22, 2019 · 1 comment
Open

nsfw validation #267

roadscape opened this issue Oct 22, 2019 · 1 comment
Assignees

Comments

@roadscape
Copy link
Contributor

Add validator:

  • Posts which belong to an is_nsfw community must include nsfw tag.
@roadscape roadscape added this to the communities MVP milestone Oct 22, 2019
@roadscape roadscape self-assigned this Nov 18, 2019
roadscape added a commit that referenced this issue Nov 20, 2019
@roadscape
Copy link
Contributor Author

roadscape commented Nov 21, 2019

Because tags are mutable, this would need to be done at cache process, possibly using leveraging valid flag.

Also, we will not be able to retroactively set non-nsfw invalid posts as valid if a community is switched to not nsfw.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant