Edgewall Software

Changes between Version 13 and Version 14 of TracFineGrainedPermissions


Ignore:
Timestamp:
Aug 13, 2009, 1:24:31 PM (15 years ago)
Author:
Christian Boos
Comment:

well, [authz_policy] is a section on its own, so it can go anywhere in the file. Clarify this.

Legend:

Unmodified
Added
Removed
Modified
  • TracFineGrainedPermissions

    v13 v14  
    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 #note this entry is not under the [trac] heading
     23}}}
     24   2. add a new `[authz_policy]` section
     25{{{
    2426[authz_policy]
    2527authz_file = /some/trac/env/conf/authzpolicy.conf
    26 
     28}}}
     29   3. enable the single file plugin
     30{{{
    2731[components]
    2832...
    29 authz_policy = enabled
     33authz_policy.* = enabled
    3034}}}
    3135