]> source.dussan.org Git - redmine.git/commit
Wiki page protection (#851, patch #1146 by Mateo Murphy with slight changes).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 4 May 2008 15:05:38 +0000 (15:05 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 4 May 2008 15:05:38 +0000 (15:05 +0000)
commit04766697357b29521515e7c71ae5139e04dd5ba2
treee51f4c5770517801ee3772dfaf3d5bfb93b00a24
parent556df99456bf579057213157eb593c6a0dea0676
Wiki page protection (#851, patch #1146 by Mateo Murphy with slight changes).
New permission added: protect wiki pages. Once a page is protected, it can be edited/renamed/deleted only by users who have this permission.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1415 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/controllers/wiki_controller.rb
app/models/wiki_page.rb
app/views/wiki/show.rhtml
db/migrate/093_add_wiki_pages_protected.rb [new file with mode: 0644]
lib/redmine.rb
public/images/locked.png
public/images/unlock.png
test/fixtures/roles.yml
test/fixtures/wiki_pages.yml
test/functional/wiki_controller_test.rb