pablobm created an issue (openstreetmap/openstreetmap-website#6794)

Assuming that https://github.com/openstreetmap/openstreetmap-website/pull/6713 
is merged, we'll have an issue where clients have no way to tell if they are 
allowed to leave a note in a specific point. If an unauthenticated user writes 
a long, thoughtful note, submits it, but then it fails because it was a 
moderation zone... they have wasted their time, if not lost their work.

We will need:
1. An API for clients to tell if the current user will be allowed to post a 
note in a given point. Something like `GET /api/0.6/notes/allowed?lat=X&lon=Y`.
2. The website to communicate this to users. Behind the scenes this might be by 
either using this new API or by leveraging its more direct access to resources 
(eg: the `/notes/new` endpoint could check if the note will be allowed and 
respond with informative content if not).

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

Message ID: <openstreetmap/openstreetmap-website/issues/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to