diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-07-30 07:38:48 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-07-30 07:38:48 +0000 |
commit | e930ee8e98acbe14438c9c314077a9f7ee198269 (patch) | |
tree | 2d2cac223b4dd0194c1930f30ac1f3809662cb96 /lib/redmine.rb | |
parent | 6bc9f3d10dfc22cf7dd1f0e1d0226d8dbec689e7 (diff) | |
download | redmine-e930ee8e98acbe14438c9c314077a9f7ee198269.tar.gz redmine-e930ee8e98acbe14438c9c314077a9f7ee198269.zip |
Adds a checkbox to set a page as the wiki start page (#26579).
git-svn-id: http://svn.redmine.org/redmine/trunk@16915 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine.rb')
-rw-r--r-- | lib/redmine.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb index 29d96c2b0..1937ba8ee 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -155,7 +155,7 @@ Redmine::AccessControl.map do |map| map.permission :delete_wiki_pages, {:wiki => [:destroy, :destroy_version]}, :require => :member map.permission :delete_wiki_pages_attachments, {} map.permission :protect_wiki_pages, {:wiki => :protect}, :require => :member - map.permission :manage_wiki, {:wikis => [:edit, :destroy]}, :require => :member + map.permission :manage_wiki, {:wikis => [:edit, :destroy], :wiki => :rename}, :require => :member end map.project_module :repository do |map| |