summaryrefslogtreecommitdiffstats
path: root/lib/redmine.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-02-16 11:35:18 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-02-16 11:35:18 +0000
commit7799788b3de62a6af32c9d573904a929992d7ab0 (patch)
treee7ee0f18db9275d0d546b7c3709bd718eff92195 /lib/redmine.rb
parent1cf09a2d31bf08cfa8c59da6fb40a6028819c15c (diff)
downloadredmine-7799788b3de62a6af32c9d573904a929992d7ab0.tar.gz
redmine-7799788b3de62a6af32c9d573904a929992d7ab0.zip
Fixed that updating the issue form was broken by r4011 when user is not allowed to add issues (#13188).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11405 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine.rb')
-rw-r--r--lib/redmine.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb
index 63fbdeb23..43e3f146a 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -115,7 +115,7 @@ Redmine::AccessControl.map do |map|
map.permission :manage_subtasks, {}
map.permission :set_issues_private, {}
map.permission :set_own_issues_private, {}, :require => :loggedin
- map.permission :add_issue_notes, {:issues => [:edit, :update], :journals => [:new], :attachments => :upload}
+ map.permission :add_issue_notes, {:issues => [:edit, :update, :update_form], :journals => [:new], :attachments => :upload}
map.permission :edit_issue_notes, {:journals => :edit}, :require => :loggedin
map.permission :edit_own_issue_notes, {:journals => :edit}, :require => :loggedin
map.permission :view_private_notes, {}, :read => true, :require => :member