From: Etienne Massip Date: Thu, 17 Nov 2011 19:47:04 +0000 (+0000) Subject: Updated permissions with newly added @create@ and @update@ actions (#9108). X-Git-Tag: 1.3.0~185 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cf9c743846dc830f41a1fab5b236c3573c926aa0;p=redmine.git 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 --- 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}