[openstreetmap/openstreetmap-website] Hide button for notes shown for all users and not logged-in users (#1869)

Michael Reichert notifications at github.com
Thu May 17 09:32:18 UTC 2018


Example: https://www.openstreetmap.org/note/1347418 or any other note

The hide button which is intended for users with moderation flag is visible to all users, even those who are not logged-in. If users click on it, a DELETE request is sent to https://www.openstreetmap.org/api/0.6/notes/1347418.json but—as expected—403 Forbidden is returned by the API.

Nothing bad can happen but users can be/are a bit confused.

Initially reported on the German OSM forum: https://forum.openstreetmap.org/viewtopic.php?id=62376

-- 
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/1869
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180517/94e02015/attachment.html>


More information about the rails-dev mailing list