Allows individual wiki pages to be set as private. Private pages are visible only to roles with "View private wiki pages" permission.
Plugin is based on Redmine Private Wiki by Oleg Kandaurov.
The main goal of this fork is to provide ChiliProject compatibility and test coverage.
- Privacy is checked for page's ancestors. If a parent page is private, all its descendants will be considered private too.
- Uses jQuery instead of Prototype.
- Follow the instructions at https://www.chiliproject.org/projects/chiliproject/wiki/Plugin_Install
- Two new permissions will be available for roles: View private wiki pages and Manage private wiki pages (to manage privacy of the page)
- Page can be changed to private using the contextual links on the wiki page
Plugin was tested with ChiliProject 3.1.0 and Ruby 1.9.3.
Patches, pull requests and forks are welcome, but if possible, provide proper test coverage.
Test suite uses Shoulda.
To run tests, follow Redmine's instructions.
Due to Engines compatibility bug the test suite won't work under Ruby 1.9 with standard ChiliProject distribution. You can replace ChiliProject's engines with fixed version.
You can also use Travis-CI integration based on the chiliproject_test_plugin.
This plugin is licensed under the MIT license.