OSDN Git Service

Added the ability to destroy wiki pages (content and its history are deleted from...
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 25 May 2007 16:44:50 +0000 (16:44 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 25 May 2007 16:44:50 +0000 (16:44 +0000)
commit6446c312beab7e23162827a79bd9ab6f9e4d7958
tree4ea3f9dc23b786f77e803ce63d76e62f1f57d81e
parent4a524ff911edefeae8753669bb27000486741fbb
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
16 files changed:
app/controllers/wiki_controller.rb
app/models/permission.rb
app/views/wiki/show.rhtml
db/migrate/049_add_wiki_destroy_page_permission.rb [new file with mode: 0644]
lang/bg.yml
lang/de.yml
lang/en.yml
lang/es.yml
lang/fr.yml
lang/it.yml
lang/ja.yml
lang/nl.yml
lang/pt-br.yml
lang/pt.yml
lang/zh.yml
test/unit/wiki_page_test.rb