@pablobm commented on this pull request.


> @@ -89,6 +89,8 @@ def create
       lat = OSM.parse_float(params[:lat], OSM::APIBadUserInput, "lat was not a 
number")
       description = params[:text]
 
+      raise OSM::APIAccessDenied if current_user.nil? && 
GeoblockZone.falls_within_any?(:lon => lon, :lat => lat)

Done now.

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

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

Reply via email to