Solution for: #99: Trac reports "Insufficient permissions" when using fine-grained permissions
To activate Trac fine-grained permissions, there are two additional steps required
- yliu on July 13, 2010, 03:18 AM UTC
In trac.ini, look for the [trac] section, then set:
Most importantly, you should not forget to set authz_module_name if you used a repository name in svn-access. For example, if your svn-access file looked like:
then authz_module_name for vault1's corresponding trac.ini should be set to vault1.
authz_file = [path to svn-access]
authz_module_name = [repository name or prefix]
#...skipped..
permission_policies = AuthzSourcePolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy
Most importantly, you should not forget to set authz_module_name if you used a repository name in svn-access. For example, if your svn-access file looked like:
[vault1:/foo]
yliu = rw
then authz_module_name for vault1's corresponding trac.ini should be set to vault1.
References used:
TracIni
( http://trac.edgewall.org/wiki/TracIni ) - found by yliu on July 13, 2010, 03:24 AM UTC