X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b97e8d5427e5be6eb5c83eb4e634882acaa69d16..a254efb5ec6b30601aeb82cf6380ace02d71c4e8:/app/abilities/api_ability.rb?ds=inline diff --git a/app/abilities/api_ability.rb b/app/abilities/api_ability.rb index 9fc3cdd9c..80245eeaa 100644 --- a/app/abilities/api_ability.rb +++ b/app/abilities/api_ability.rb @@ -9,6 +9,7 @@ class ApiAbility 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