X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f08fb4f30f83288a5d485d422b94c4301c2a86b5..f41bb4c325d8b9dbb960069c100a224fdb7cdb0e:/app/controllers/api/notes_controller.rb?ds=inline diff --git a/app/controllers/api/notes_controller.rb b/app/controllers/api/notes_controller.rb index e28c0a622..8a0a82c40 100644 --- a/app/controllers/api/notes_controller.rb +++ b/app/controllers/api/notes_controller.rb @@ -138,9 +138,6 @@ module Api ## # Add a comment to an existing note def comment - # Check the ACLs - raise OSM::APIAccessDenied if current_user.nil? && Acl.no_note_comment(request.remote_ip) - # Check the arguments are sane raise OSM::APIBadUserInput, "No id was given" unless params[:id] raise OSM::APIBadUserInput, "No text was given" if params[:text].blank?