Allow everybody to query features

This commit is contained in:
Tom Hughes 2019-01-09 19:15:55 +00:00
parent 99b380765a
commit 5c877e0fa4

View file

@ -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