lemmy icon indicating copy to clipboard operation
lemmy copied to clipboard

Temporary instance blocks and reason

Open Nutomic opened this issue 3 years ago • 2 comments

Its common that we block instances due to spam accounts. In such cases, it would be good if admins could specify the block reason, so that we can check later if the block is still necessary, or can be reverted. Similarly, it would be useful to specify temporary instance blocks. Additionally, it would make sense to show instance blocks in the mod log.

Nutomic avatar Oct 19 '22 10:10 Nutomic

This would be possible, especially now that the blocklist is in the DB.

It would require:

  • Adding reason and expires column to the blocklist table, similar to the mod_ban table.
  • Adding specific API endpoints for the allowlist and blocklist: Add and Remove. Once #2285 is done, these are Option<Vec<String>> for SaveSiteSettings, and would need to be removed from there.

dessalines avatar Oct 21 '22 14:10 dessalines

Would it also make sense to introduce federation severance notifications whilst implementing this? (I'm assuming that relationships are severed when an instance blocks another instance, in which case it's probably worthwhile users being notified of any relationships that were severed)

ThisIsMissEm avatar Sep 18 '24 19:09 ThisIsMissEm