[openstreetmap/openstreetmap-website] Allow blocks to be hidden (Issue #4940)
Simon Poole
notifications at github.com
Thu Jul 4 07:07:10 UTC 2024
> I assume it would be easier to add a delete option to blocks. Would that work as well? Does it require special restrictions, or can all moderators delete all blocks at any time? Personally I think that would be OK, we trust them with what they do…
>
> The reason why it should be easier IMO: Hiding requires to add filter to all the right places, which is quite hard to get right.
As a general rule I think it is a good idea to keep documentation for these kind of actions available to the DWG, so I would be against deleting them, and that said it isn't as if block lists are used all over the place, and while I haven't looked at the relevant code for a while, it is likely not more work than making the database query for blocks contingent on such a status flag and moderator status of the account.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/4940#issuecomment-2208265645
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/4940/2208265645 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240704/519a7acb/attachment.htm>
More information about the rails-dev
mailing list