summaryrefslogtreecommitdiffstats
path: root/lib/redmine.rb
diff options
context:
space:
mode:
authorEtienne Massip <etienne.massip@gmail.com>2011-11-17 19:47:04 +0000
committerEtienne Massip <etienne.massip@gmail.com>2011-11-17 19:47:04 +0000
commitcf9c743846dc830f41a1fab5b236c3573c926aa0 (patch)
tree120cfd17091dec46a9688115592764d8995dbb01 /lib/redmine.rb
parent88f8daf8b70295957183080258f7829f8681edca (diff)
downloadredmine-cf9c743846dc830f41a1fab5b236c3573c926aa0.tar.gz
redmine-cf9c743846dc830f41a1fab5b236c3573c926aa0.zip
Updated permissions with newly added @create@ and @update@ actions (#9108).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7826 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 0c12188a2..98048edde 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -79,8 +79,8 @@ Redmine::AccessControl.map do |map|
map.permission :move_issues, {:issue_moves => [:new, :create]}, :require => :loggedin
map.permission :delete_issues, {:issues => :destroy}, :require => :member
# Queries
- map.permission :manage_public_queries, {:queries => [:new, :edit, :destroy]}, :require => :member
- map.permission :save_queries, {:queries => [:new, :edit, :destroy]}, :require => :loggedin
+ map.permission :manage_public_queries, {:queries => [:new, :create, :edit, :update, :destroy]}, :require => :member
+ map.permission :save_queries, {:queries => [:new, :create, :edit, :update, :destroy]}, :require => :loggedin
# Watchers
map.permission :view_issue_watchers, {}
map.permission :add_issue_watchers, {:watchers => :new}