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

Kai Michael Poppe notifications at github.com
Wed Sep 9 08:22:43 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")

Reading through the way the Moderation Zones took, yes, it would seem so ("newly created users") but that could be in contradiction to what the message says. So, we'll just stick to the change in the UI (display the current error) and see if and when a change to the error message is needed?

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

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


More information about the rails-dev mailing list