wiki:TracRestrictAccessPlugin

Restrict to some user the access to Trac

Description

This plugin allows you to restrict access to Trac to the users that have the TRAC_RESTRICT_ACCESS permission.

This mean that the restricted users can:

  • only view wiki pages under the directory /trac/wiki/SharedPages/
  • only view tickets that concern themselves, ie they are reporter or owner or on the cc list.

Thanks to the author of PrivateTicketsPlugin, which inspired this plugin.

See also: PrivateTicketsPlugin, PrivateWikiPlugin, TracFineGrainedPermissions

Bugs/Feature Requests

Existing bugs and feature requests for TracRestrictAccessPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out TracRestrictAccessPlugin from here using Subversion, or browse the source with Trac.

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

You must enable it through the line restrictaccess.* = enabled in your trac.ini file. You also need to add RestrictAccessPolicy to your permission_policies setting in the trac.ini file. It must be before the DefaultPermissionPolicy. See below for an example.

Then to limit access to some users simply give them the permission TRAC_RESTRICT_ACCESS.

Example

Example of trac.ini:

[components]
...
restrictaccess.* = enabled
...

[trac]
...
permission_policies = RestrictAccessPolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy

Recent Changes

14589 by giursino on 2015-05-14 15:38:35
fix comment
14588 by giursino on 2015-05-14 12:03:42
Added install.sh script
14587 by giursino on 2015-05-14 11:00:59
first revision
(more)

Author/Contributors

Author: giursino
Maintainer: Giuseppe Ursino
Contributors:

Last modified 9 years ago Last modified on Dec 15, 2015, 3:49:42 AM