Allow everybody to create new notes

Fixes #2110
This commit is contained in:
Tom Hughes 2019-01-09 18:13:05 +00:00
parent 6c2432ae42
commit 99b380765a

View file

@ -4,7 +4,7 @@ class Ability
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], :browse
can [:index, :feed, :read, :download, :query], Changeset
can :index, ChangesetComment
can :search, :direction