summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-12-20 19:10:24 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-12-20 19:10:24 +0000
commit31c6ebb31046470d41a625195662dfccdff116c4 (patch)
treeab099bc278f30009158a7afe93a1ca46e9594ef9 /lib
parent3d5381b24bb488e4e9edd5a9eec2ba8be4de5c63 (diff)
downloadredmine-31c6ebb31046470d41a625195662dfccdff116c4.tar.gz
redmine-31c6ebb31046470d41a625195662dfccdff116c4.zip
Added wiki annotate view. It's accessible for each version from the page history view.
Slight style change: pre-wrap added on file/diff contents. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1020 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 921e16b30..9b29257bd 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -71,7 +71,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, :history, :diff, :special]
+ map.permission :view_wiki_pages, :wiki => [:index, :history, :diff, :annotate, :special]
map.permission :edit_wiki_pages, :wiki => [:edit, :preview, :add_attachment, :destroy_attachment]
end