0001-Remove-edit-action-from-manage_wiki-permission-defin.patch

Mischa The Evil, 2021-01-27 09:59

Download (1.04 KB)

View differences:

lib/redmine.rb
170 170
    map.permission :delete_wiki_pages, {:wiki => [:destroy, :destroy_version]}, :require => :member
171 171
    map.permission :delete_wiki_pages_attachments, {}
172 172
    map.permission :protect_wiki_pages, {:wiki => :protect}, :require => :member
173
    map.permission :manage_wiki, {:wikis => [:edit, :destroy], :wiki => :rename}, :require => :member
173
    map.permission :manage_wiki, {:wikis => :destroy, :wiki => :rename}, :require => :member
174 174
  end
175 175

  
176 176
  map.project_module :repository do |map|
177
-