X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e66c7192949e46480c55f3d74a5b38da95532db3..b5d4c262ddf559e8f0053d40514c8d33a1e959ab:/app/abilities/api_ability.rb diff --git a/app/abilities/api_ability.rb b/app/abilities/api_ability.rb index a71d05d75..6d62ece51 100644 --- a/app/abilities/api_ability.rb +++ b/app/abilities/api_ability.rb @@ -8,8 +8,7 @@ class ApiAbility can :index, :change can :index, :map can :show, :permission - can [:search_all, :search_nodes, :search_ways, :search_relations], :search - can [:trackpoints], :swf + can :show, :version if Settings.status != "database_offline" can [:show, :download, :query], Changeset