[openstreetmap/openstreetmap-website] Designate regions where new accounts cannot edit or add notes (Issue #6512)

mmd notifications at github.com
Thu Nov 27 12:37:27 UTC 2025


mmd-osm left a comment (openstreetmap/openstreetmap-website#6512)

> based on bounding boxes as you say but that does create problems when it comes to large bounding boxes that might intersect many "zones" that they don't really touch

Since we're talking about new accounts, large bounding boxes are anyway rejected by the api_size_limit db function. For prototyping purposes only, you could probably abuse that function to include a zone intersection check, and return 0 as permitted size...

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6512#issuecomment-3585642693
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/6512/3585642693 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251127/6e2d81ab/attachment.htm>


More information about the rails-dev mailing list