diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-02-16 13:19:33 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-02-16 13:19:33 +0000 |
commit | 1c8cf4ef8338736ebcaa905f8932545a24e817c6 (patch) | |
tree | 1511225a9139cd3f2113c9b908a88c70f4166958 /lib/redmine.rb | |
parent | abb0b15407b33cbe50dc263474631c5bfcf2bd5f (diff) | |
download | redmine-1c8cf4ef8338736ebcaa905f8932545a24e817c6.tar.gz redmine-1c8cf4ef8338736ebcaa905f8932545a24e817c6.zip |
Added the following permissions (#527, #585, #627):
* edit_issue_notes: let user edit any notes
* edit_own_issue_notes: let user edit his own notes only
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1152 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine.rb')
-rw-r--r-- | lib/redmine.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb index b235df32e..e76d77e9e 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -34,6 +34,8 @@ Redmine::AccessControl.map do |map| map.permission :edit_issues, {:issues => [:edit, :bulk_edit, :destroy_attachment]} map.permission :manage_issue_relations, {:issue_relations => [:new, :destroy]} map.permission :add_issue_notes, {:issues => :edit} + map.permission :edit_issue_notes, {:journals => :edit}, :require => :loggedin + map.permission :edit_own_issue_notes, {:journals => :edit}, :require => :loggedin map.permission :move_issues, {:issues => :move}, :require => :loggedin map.permission :delete_issues, {:issues => :destroy}, :require => :member # Queries |