X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/31edc7dff6f4305366d0f93d35ba3fb1956bb71f..6852bc9c9255aca49da991d295c2b8c5555a3db9:/app/abilities/api_ability.rb?ds=sidebyside diff --git a/app/abilities/api_ability.rb b/app/abilities/api_ability.rb index 9fc3cdd9c..6d62ece51 100644 --- a/app/abilities/api_ability.rb +++ b/app/abilities/api_ability.rb @@ -8,7 +8,7 @@ class ApiAbility can :index, :change can :index, :map can :show, :permission - can [:search_all, :search_nodes, :search_ways, :search_relations], :search + can :show, :version if Settings.status != "database_offline" can [:show, :download, :query], Changeset