summaryrefslogtreecommitdiffstats
path: root/lib/redmine.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-02-09 16:11:18 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-02-09 16:11:18 +0000
commit43a6f312edde2399c9c986ed61b1e9b0e1066db6 (patch)
tree35c765cab413a9099ef45aa5c1ca830c3d736d26 /lib/redmine.rb
parent6d109258c909f71edc3a4b43843c296acf66aad0 (diff)
downloadredmine-43a6f312edde2399c9c986ed61b1e9b0e1066db6.tar.gz
redmine-43a6f312edde2399c9c986ed61b1e9b0e1066db6.zip
Merged IssuesController #edit and #update into a single actions.
Users with 'edit issues' permission can now update any property including custom fields when adding a note or changing the status (#519, #581, #587). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1129 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine.rb')
-rw-r--r--lib/redmine.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb
index c4c55a932..69151012b 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -32,9 +32,9 @@ Redmine::AccessControl.map do |map|
:reports => :issue_report}, :public => true
map.permission :add_issues, {:issues => :new}
map.permission :edit_issues, {:projects => :bulk_edit_issues,
- :issues => [:edit, :update, :destroy_attachment]}
+ :issues => [:edit, :destroy_attachment]}
map.permission :manage_issue_relations, {:issue_relations => [:new, :destroy]}
- map.permission :add_issue_notes, {:issues => :update}
+ map.permission :add_issue_notes, {:issues => :edit}
map.permission :move_issues, {:projects => :move_issues}, :require => :loggedin
map.permission :delete_issues, {:issues => :destroy}, :require => :member
# Queries