« Previous | Next » 

Revision 1415

jplang, 2008-05-04 17:05

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.

Related issues

Files

added 
modified 
deleted 

View differences

/trunk/app/controllers/wiki_controller.rb
View differences
/trunk/app/models/wiki_page.rb
View differences
/trunk/app/views/wiki/show.rhtml
View differences
/trunk/db/migrate/093_add_wiki_pages_protected.rb
/trunk/lib/redmine.rb
View differences
/trunk/public/images/locked.png
View differences
/trunk/public/images/unlock.png
View differences
/trunk/test/fixtures/roles.yml
View differences
/trunk/test/fixtures/wiki_pages.yml
View differences
/trunk/test/functional/wiki_controller_test.rb
View differences