Skip to content

Prevent banned users from creating new posts and comments#216

Open
tom-sherman wants to merge 2 commits intomainfrom
more-aggressive-ban-measures
Open

Prevent banned users from creating new posts and comments#216
tom-sherman wants to merge 2 commits intomainfrom
more-aggressive-ban-measures

Conversation

@tom-sherman
Copy link
Copy Markdown
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.

@vercel
Copy link
Copy Markdown

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.

2 participants