[[PageOutline(2-5,Contents,pullout)]] = 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 [report:9?COMPONENT=TracRestrictAccessPlugin here]. If you have any issues, create a [/newticket?component=TracRestrictAccessPlugin new ticket]. [[TicketQuery(component=TracRestrictAccessPlugin&group=type,format=progress)]] == Download Download the zipped source from [export:tracrestrictaccessplugin here]. == Source You can check out TracRestrictAccessPlugin from [/svn/tracrestrictaccessplugin here] using Subversion, or [source:tracrestrictaccessplugin browse the source] with Trac. == Installation General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin 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`: {{{#!ini [components] ... restrictaccess.* = enabled ... [trac] ... permission_policies = RestrictAccessPolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy }}} == Recent Changes [[ChangeLog(tracrestrictaccessplugin, 3)]] == !Author/Contributors **Author:** [wiki:giursino] [[BR]] **Maintainer:** [[Maintainer]] [[BR]] **Contributors:**