close
Warning:
Failed to sync with repository "ogBrowser-Git": (1366, "Incorrect string value: '\\xF0\\x9F\\x93\\xA6 I...' for column 'message' at row 1"); repository information may be out of date. Look in the Trac log for more information including mitigation strategies.
- Timestamp:
-
Mar 15, 2010, 9:46:23 AM (16 years ago)
- Author:
-
trac
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v1
|
v2
|
|
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 = enabled |
| 33 | 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: |