[openstreetmap/openstreetmap-website] Make Moderation Zone Note Error more user friendly (PR #7373)

Kai Michael Poppe notifications at github.com
Wed Sep 9 04:19:47 UTC 2026


@kmpoppe commented on this pull request.



> @@ -29,7 +29,7 @@ def status
   end
 
   class APIModerationZoneError < APIAccessDenied
-    def initialize(message = "You don't have permissions to make changes in this zone, as it is currently protected by moderators")
+    def initialize(message = "You don't have permissions to make changes here. Please either sign in or create an OpenStreetMap account")

I agree that the initial message @pablobm proposed in https://github.com/openstreetmap/openstreetmap-website/issues/7276#issue-5012961324 (You cannot leave a note here) would've made it VERY specific to Notes, I had liked to believe that this change did more towards generalizing "you can't do anything here, unless you're signed in"?

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

Message ID: <openstreetmap/openstreetmap-website/pull/7373/review/5149686343 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260908/7ade48cc/attachment.htm>


More information about the rails-dev mailing list