From: Tom Hughes Date: Wed, 9 Jan 2019 19:15:55 +0000 (+0000) Subject: Allow everybody to query features X-Git-Tag: live~3265 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/5c877e0fa40bb0e62a35ad264fceb67aac93befb Allow everybody to query features --- diff --git a/app/abilities/ability.rb b/app/abilities/ability.rb index acd11926c..dca80ebba 100644 --- a/app/abilities/ability.rb +++ b/app/abilities/ability.rb @@ -4,7 +4,8 @@ class Ability include CanCan::Ability def initialize(user) - can [:relation, :relation_history, :way, :way_history, :node, :node_history, :changeset, :note, :new_note], :browse + can [:relation, :relation_history, :way, :way_history, :node, :node_history, + :changeset, :note, :new_note, :query], :browse can [:index, :feed, :read, :download, :query], Changeset can :index, ChangesetComment can :search, :direction