[openstreetmap/openstreetmap-website] Deprecate and remove expand_bbox call (#2316)
mmd
notifications at github.com
Tue Jul 16 13:47:16 UTC 2019
> I could imagine editors wanting to "pre-flight" a changeset upload by sending an expand_bbox call in advance, which would essentially then serve as a "tell me if I am even allowed to upload a changeset with this bbox".
I think a better way would be to publish such restrictions in the /api/capabilities call (i.e. by providing a list of "locked objects/bbox of the day"), and have editors react accordingly. The changeset upload call would simply reject any upload not adhering to the rules. Previous discussions about a 32k member limit for relations already showed that other approaches will most likely not work, in particular everything that would start looking at restrictions only very close to the upload itself. In most cases there's no meaningful way for a user to continue editing in this case.
Overall, I don't think _expand_bbox_ is really suitable for this use case, and I'd assume you'd need much more fine granular rules to handle vandalism.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2316#issuecomment-511823110
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190716/b0491aa5/attachment.html>
More information about the rails-dev
mailing list