Project

General

Profile

Feature #1154 » wiki_history_needs_edit_permission.diff

Jon Evans, 2008-05-01 18:25

View differences:

lib/redmine.rb (working copy)
74 74
    map.permission :manage_wiki, {:wikis => [:edit, :destroy]}, :require => :member
75 75
    map.permission :rename_wiki_pages, {:wiki => :rename}, :require => :member
76 76
    map.permission :delete_wiki_pages, {:wiki => :destroy}, :require => :member
77
    map.permission :view_wiki_pages, :wiki => [:index, :history, :diff, :annotate, :special]
78
    map.permission :edit_wiki_pages, :wiki => [:edit, :preview, :add_attachment, :destroy_attachment]
77
    map.permission :view_wiki_pages, :wiki => [:index, :special]
78
    map.permission :edit_wiki_pages, :wiki => [:edit, :preview, :add_attachment, :destroy_attachment, :history, :diff, :annotate]
79 79
  end
80 80
    
81 81
  map.project_module :repository do |map|
(3-3/3)