summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2010-02-06 09:30:53 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2010-02-06 09:30:53 +0000
commit6c8b87fbc8a52b53a0adb53f072508ade7e2dca6 (patch)
treeb64eefe5f3f112ed9f5867cb87af22b56f1bd919 /lib
parente5d300af0a4d6703b043c05d4178353e7e252bf2 (diff)
downloadredmine-6c8b87fbc8a52b53a0adb53f072508ade7e2dca6.tar.gz
redmine-6c8b87fbc8a52b53a0adb53f072508ade7e2dca6.zip
Adds a permission for exporting wiki pages.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3371 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb
index 0cf0cc497..9d9de9cf9 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -92,6 +92,7 @@ Redmine::AccessControl.map do |map|
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 :export_wiki_pages, {}
map.permission :view_wiki_edits, :wiki => [:history, :diff, :annotate]
map.permission :edit_wiki_pages, :wiki => [:edit, :preview, :add_attachment]
map.permission :delete_wiki_pages_attachments, {}