Contents
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
orowner
or on thecc
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
Author/Contributors
Author: giursino
Maintainer: Giuseppe Ursino
Contributors: