From 99b380765aedfb32fdc15e231cf01cf135f33bed Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 9 Jan 2019 18:13:05 +0000 Subject: [PATCH] Allow everybody to create new notes Fixes #2110 --- app/abilities/ability.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/abilities/ability.rb b/app/abilities/ability.rb index 09e9be2cf..acd11926c 100644 --- a/app/abilities/ability.rb +++ b/app/abilities/ability.rb @@ -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 -- 2.43.2