summaryrefslogtreecommitdiffstats
path: root/lib/redmine.rb
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-10-15 15:36:10 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-10-15 15:36:10 +0000
commit02711057943805a2c605a87f069a9fc333c6d1fb (patch)
tree2ceb185bdcc36954e0502f50c85ef9aa8ebfe5cf /lib/redmine.rb
parentbbbfd4ee4cf34742c1f0e18cf5709a2f59762b6b (diff)
downloadredmine-02711057943805a2c605a87f069a9fc333c6d1fb.tar.gz
redmine-02711057943805a2c605a87f069a9fc333c6d1fb.zip
Refactor: extract #page_index from WikiController#special
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4253 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine.rb')
-rw-r--r--lib/redmine.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb
index 953707781..98ca41d16 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -111,7 +111,7 @@ Redmine::AccessControl.map do |map|
map.permission :manage_wiki, {:wikis => [:edit, :destroy]}, :require => :member
map.permission :rename_wiki_pages, {:wiki => :rename}, :require => :member
map.permission :delete_wiki_pages, {:wiki => :destroy}, :require => :member
- map.permission :view_wiki_pages, :wiki => [:index, :special]
+ map.permission :view_wiki_pages, :wiki => [:index, :special, :page_index]
map.permission :export_wiki_pages, :wiki => [:export]
map.permission :view_wiki_edits, :wiki => [:history, :diff, :annotate]
map.permission :edit_wiki_pages, :wiki => [:edit, :preview, :add_attachment]