X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/511ce4ab89c4f3dfb5c08d2fea9c9743c31793ea..7e7ede890e8e948236d3dbc48e24aca00cd01f62:/app/abilities/api_ability.rb diff --git a/app/abilities/api_ability.rb b/app/abilities/api_ability.rb index e20b849d1..c790da66a 100644 --- a/app/abilities/api_ability.rb +++ b/app/abilities/api_ability.rb @@ -10,7 +10,7 @@ class ApiAbility can :show, :version if Settings.status != "database_offline" - can [:show, :download, :query], Changeset + can [:index, :show, :download], Changeset can [:index, :create, :feed, :show, :search], Note can :index, Tracepoint can [:index, :show], User @@ -22,7 +22,7 @@ class ApiAbility if user&.active? can [:comment, :close, :reopen], Note - can [:create, :show, :update, :destroy, :data], Trace + can [:create, :show, :update, :destroy], Trace can [:details, :gpx_files], User can [:index, :show, :update, :update_all, :destroy], UserPreference