Changes between Version 2 and Version 3 of TracFineGrainedPermissions
- Timestamp:
- 13/04/2010 13:24:18 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracFineGrainedPermissions
v2 v3 16 16 - 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. 17 17 - Update your `trac.ini`: 18 1. modify the [TracIni#trac-section permission_policies] entry in the `[trac]` section 18 19 {{{ 19 20 [trac] 20 21 ... 21 22 permission_policies = AuthzPolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy 22 23 }}} 24 2. add a new `[authz_policy]` section 25 {{{ 23 26 [authz_policy] 24 27 authz_file = /some/trac/env/conf/authzpolicy.conf 25 28 }}} 29 3. enable the single file plugin 30 {{{ 26 31 [components] 27 32 ... 28 authz_policy = enabled33 authz_policy.* = enabled 29 34 }}} 30 35 … … 64 69 65 70 That 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)].71 More 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. 67 72 68 73 Example: