| 1 | = `AuthzSourcePolicy` |
| 2 | |
| 3 | This is the name of a permission policy enforcing access control in the TracBrowser and other source code access modules, implementing the same rules as Subversion's `mod_authz_svn.so` Apache module. |
| 4 | |
| 5 | The syntax of the file used for configuring the access permissions and the operation mode of this policy are described in the [http://svnbook.red-bean.com/en/1.7/svn.serverconfig.pathbasedauthz.html Path-Based Authorization] section of the __[http://svnbook.red-bean.com/en/1.7/ Version Control with Subversion]__ book. |
| 6 | |
| 7 | In order to enable this policy, you need to edit the `<tracenv>/conf/trac.ini` file, and put in your `[trac]` section something like: |
| 8 | {{{#!ini |
| 9 | [trac] |
| 10 | authz_file = svn-authz.conf |
| 11 | ;authz_module_name = somemodule |
| 12 | |
| 13 | permission_policies = AuthzPolicy, |
| 14 | DefaultPermissionPolicy, |
| 15 | LegacyAttachmentPolicy |
| 16 | }}} |
| 17 | See the TracIni#trac-section part for details about those settings. |
| 18 | |
| 19 | See also: TracFineGrainedPermissions#AuthzSourcePolicy, AuthzSource |