[[PageOutline(2-5,Contents,pullout)]] = Patch for new subversion svn_authz format = == Description == Trac can apply access control for souce code browser through authz_file option. Yet svn_authz support is quite obsolete. * do not support `[aliases]` section; * do not support `$anonymous` and `$authenticated`; * if multiple rules matched in one section, the maximum rights is returned. But it is not the case in Trac. This patch add aliases support, and fix a certain bugs of svn_authz support in Trac. I also add `DocTest` for svn_authz.py. == Bugs/Feature Requests == Existing bugs and feature requests for SvnAuthzPatch are [report:9?COMPONENT=SvnAuthzPatch here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=SvnAuthzPatch&owner=jiangxin new ticket]. == Download == Download the zipped source from [download:svnauthzpatch here]. == Source == You can check out SvnAuthzPatch from [http://trac-hacks.org/svn/svnauthzpatch here] using Subversion, or [source:svnauthzpatch browse the source] with Trac. == Example == To apply access control for subversion source browser, add the following lines in your trac.ini {{{ #!ini [trac] authz_file = /path/to/svn.access ## authz_module_name can be omited, if no reposname ## add in section name in authz_file. authz_module_name = reposname }}} == Recent Changes == [[ChangeLog(svnauthzpatch, 3)]] == Author/Contributors == '''Author:''' [wiki:jiangxin] [[BR]] '''Maintainer:''' [wiki:jiangxin] [[BR]] '''Contributors:'''