include CanCan::Ability
def initialize(user)
- can [:relation, :relation_history, :way, :way_history, :node, :node_history, :changeset, :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