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

Prevent banned users from creating new posts and comments #216

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tom-sherman
Copy link
Contributor

What we have right now are shadow bans, this PR turns them into explicit bans. It does this by:

  • Error in new post, comment, and vote actions if the user is banned
  • Return 404 on banned user profiles
  • Refuse to process events from these users in the receive hook

Note: this does not prevent users from logging in.

Copy link

vercel bot commented Dec 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
frontpage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 16, 2024 11:29am
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
atproto-browser ⬜️ Skipped (Inspect) Dec 16, 2024 11:29am
unravel ⬜️ Skipped (Inspect) Dec 16, 2024 11:29am

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

Successfully merging this pull request may close these issues.

1 participant