Added the ability to destroy wiki pages (content and its history are deleted from the database).

This permission has to be explicitly given (Roles & Permissions -> Wiki pages/Delete).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@540 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2007-05-25 16:44:50 +00:00
1 parent 4a524ff911
commit 6446c312be
16 files changed
+43 -2

No files matched your search

+1
View File
@@ -32,6 +32,7 @@ class Permission < ActiveRecord::Base
1300 => :label_attachment_plural,
1400 => :label_repository,
1500 => :label_time_tracking,
1700 => :label_wiki_page_plural,
2000 => :label_board_plural
}.freeze