Menu

Commit [r1415]  Maximize  Restore  History

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.

jplang 2008-05-04

changed /trunk/app/controllers/wiki_controller.rb
changed /trunk/app/models/wiki_page.rb
changed /trunk/app/views/wiki/show.rhtml
added /trunk/db/migrate/093_add_wiki_pages_protected.rb
changed /trunk/lib/redmine.rb
changed /trunk/public/images/locked.png
changed /trunk/public/images/unlock.png
changed /trunk/test/fixtures/roles.yml
changed /trunk/test/fixtures/wiki_pages.yml
changed /trunk/test/functional/wiki_controller_test.rb
/trunk/app/controllers/wiki_controller.rb Diff Switch to side-by-side view
Loading...
/trunk/app/models/wiki_page.rb Diff Switch to side-by-side view
Loading...
/trunk/app/views/wiki/show.rhtml Diff Switch to side-by-side view
Loading...
/trunk/db/migrate/093_add_wiki_pages_protected.rb Diff Switch to side-by-side view
Loading...
/trunk/lib/redmine.rb Diff Switch to side-by-side view
Loading...
/trunk/public/images/locked.png
Binary file was changed.
/trunk/public/images/unlock.png
Binary file was changed.
/trunk/test/fixtures/roles.yml Diff Switch to side-by-side view
Loading...
/trunk/test/fixtures/wiki_pages.yml Diff Switch to side-by-side view
Loading...
/trunk/test/functional/wiki_controller_test.rb Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.