Changes between Version 2 and Version 3 of TracFineGrainedPermissions


Ignore:
Timestamp:
2010-02-17T06:22:03Z (6 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracFineGrainedPermissions

    v2 v3  
    1616 - Put a [http://swapoff.org/files/authzpolicy.conf authzpolicy.conf] file somewhere (preferably on a secured location on the server, not readable for others than the webuser.
    1717 - Update your `trac.ini`:
     18   1. modify the [TracIni#trac-section permission_policies] entry in the `[trac]` section
    1819{{{
    1920[trac]
    2021...
    2122permission_policies = AuthzPolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy
    22 
     23}}}
     24   2. add a new `[authz_policy]` section
     25{{{
    2326[authz_policy]
    2427authz_file = /some/trac/env/conf/authzpolicy.conf
    25 
     28}}}
     29   3. enable the single file plugin
     30{{{
    2631[components]
    2732...
    28 authz_policy = enabled
     33authz_policy.* = enabled
    2934}}}
    3035
     
    6469
    6570That kind of fine-grained permission control needs a definition file, which is the one used by Subversion's mod_authz_svn.
    66 More information about this file format and about its usage in Subversion is available in the [http://svnbook.red-bean.com/svnbook/book.html#svn-ch-6-sect-4.4.2 Subversion Book (Per-Directory Access Control)].
     71More information about this file format and about its usage in Subversion is available in the  [http://svnbook.red-bean.com/en/1.5/svn.serverconfig.pathbasedauthz.html Path-Based Authorization] section in the Server Configuration chapter of the svn book.
    6772
    6873Example: