Changes between Version 2 and Version 3 of TracRestrictAccessPlugin


Ignore:
Timestamp:
May 15, 2015, 12:06:08 PM (9 years ago)
Author:
figaro
Comment:

Cosmetic changes, tagged with license

Legend:

Unmodified
Added
Removed
Modified
  • TracRestrictAccessPlugin

    v2 v3  
    55== Description
    66
    7 The goal of TracRestrictAccessPlugin is to restrict the access to Trac to the users with {{{TRAC_RESTRICT_ACCESS}}} permission.
     7This plugin allows you to restrict access to Trac to the users that have the `TRAC_RESTRICT_ACCESS` permission.
    88
    99This mean that the restricted users can:
    1010- only view wiki pages under the directory {{{/trac/wiki/SharedPages/}}}
    11 - only view tickets that concern themselves. (ie: they are {{{reporter}}} or {{{owner}}} or {{{cc}}}).
     11- only view tickets that concern themselves, ie they are {{{reporter}}} or {{{owner}}} or on the {{{cc}}} list.
    1212
    13 
    14 
    15 Thanks to the author of PrivateTicketsPlugin where I took the idea to restrict the view of tickets.
     13Thanks to the author of PrivateTicketsPlugin, which inspired this plugin.
    1614
    1715See also: PrivateTicketsPlugin, PrivateWikiPlugin, TracFineGrainedPermissions
    18 
    1916
    2017== !Bugs/Feature Requests
     
    4037General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
    4138
    42 You must enabled it ({{{restrictaccess.* = enabled}}}) and also add {{{RestrictAccessPolicy}}} to your {{{permission_policies}}} setting in {{{trac.ini}}}. It must be before the {{{DefaultPermissionPolicy}}}. See below for an example if you don't have any other policies.
     39You 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.
    4340
    44 Then to limit access to some users simply give them the permission
    45 {{{TRAC_RESTRICT_ACCESS}}}
    46 
     41Then to limit access to some users simply give them the permission `TRAC_RESTRICT_ACCESS`.
    4742
    4843== Example
    4944
    50 Example of {{{trac.ini}}}:
    51 {{{
     45Example of `trac.ini`:
     46{{{#!ini
    5247[components]
    5348...
     
    6055}}}
    6156
    62 
    6357== Recent Changes
    6458