Restrict Access to sections of the Wiki

Description

Allows you to protect wiki pages against access.

Bugs/Feature Requests

Existing bugs and feature requests for PrivateWikiPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source, check out using Subversion, or browse the source with Trac.

Installation Help

  1. Install the plugin (either for a single project, or globally). See the details on how to install a trac plugin at: TracPlugins
  2. Be sure that the plugin is enabled. Add "privatewiki.api.privatewikisystem = enabled" to trac.ini (in the [components] subheading).
    • Alternatively, this can be enabled in the Web Admin section of the website as well
  3. In trac.ini modify the permission_policies to include PrivateWikiSystem before any other entries (order is important!)

Before:

[trac]
permission_policies=DefaultPermissionPolicy

After:

[trac]
permission_policies=PrivateWikiSystem, DefaultPermissionPolicy, LegacyAttachmentPolicy

Use

In trac.ini add a privatewikis section, under that add a private_wikis field and list the Pages that you want to protect. Enter the pages in all upper case and replace /'s with _.

[privatewikis]
private_wikis=IT,FOOBAR,FOOBAR_INFO

Once you've added this you will have some new permissions in the admin section. For example you'll have PRIVATE_VIEW_FOO and PRIVATE_EDIT_FOO_BAR which will control which users can view or edit FooBar and anything below it like FooBar/Test. The downside is that this plugin sees FooBar and Foobar as the same page so any restrictions on one will restrict the access of the other.

Recent Changes

[11107] by natewlew on 01/04/12 03:16:38

Applied Patch to fix Ticket #3194. This prevents anonymous users from seeing private wiki pages.

[11106] by natewlew on 01/04/12 03:13:45

Added new Maintainer

[3458] by eric256 on 04/03/08 23:45:22

Fixing group permissions issues

[3457] by eric256 on 04/03/08 23:00:26

Update URL

Author/Contributors

Author: eric256
Maintainer: natewlew
Contributors:

Attachments