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

Pablo Brasero notifications at github.com
Wed Sep 9 11:02:59 UTC 2026


@pablobm 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")

It's true that moderation zones may be expanded in the future, but given the speed at which things go here I think it's ok for the message to mention anonymous notes for now.

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

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


More information about the rails-dev mailing list