From 5c877e0fa40bb0e62a35ad264fceb67aac93befb Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 9 Jan 2019 19:15:55 +0000 Subject: [PATCH] Allow everybody to query features --- app/abilities/ability.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.43.2