summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-30 15:32:03 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-30 15:32:03 +0000
commit665497f5fbdf95a806ca49a2da77aa5c82d5e64a (patch)
tree0263a63749aabe1d839820c9292d3cd2d5da4007 /lib
parentdc74a1780fa27a0256afcbdc9f1a4bea5fa84059 (diff)
downloadredmine-665497f5fbdf95a806ca49a2da77aa5c82d5e64a.tar.gz
redmine-665497f5fbdf95a806ca49a2da77aa5c82d5e64a.zip
Fixed: Manage pu(b)lic queries typo (Thomas Lecavelier).
As this fix modifies manage_public_queries permission symbol, this permission has to re-entered. git-svn-id: http://redmine.rubyforge.org/svn/trunk@778 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb
index 8dd191c33..f70ad8df5 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -36,7 +36,7 @@ Redmine::AccessControl.map do |map|
map.permission :move_issues, {:projects => :move_issues}, :require => :loggedin
map.permission :delete_issues, {:issues => :destroy}, :require => :member
# Queries
- map.permission :manage_pulic_queries, {:queries => [:new, :edit, :destroy]}, :require => :member
+ map.permission :manage_public_queries, {:queries => [:new, :edit, :destroy]}, :require => :member
map.permission :save_queries, {:queries => [:new, :edit, :destroy]}, :require => :loggedin
# Gantt & calendar
map.permission :view_gantt, :projects => :gantt