Edgewall Software

Version 4 (modified by Christian Boos, 12 years ago) ( diff )

move content from SvnAuthz@5

AuthzSourcePolicy

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.

Usage

The syntax of the file used for configuring the access permissions and the operation mode of this policy are described in the Path-Based Authorization section of the Version Control with Subversion book.

In order to enable this policy, you need to edit the <tracenv>/conf/trac.ini file, and put in your [trac] section something like:

[trac]
authz_file = svn-authz.conf
;authz_module_name = somemodule

permission_policies = AuthzSourcePolicy,
 DefaultPermissionPolicy,
 LegacyAttachmentPolicy

See the TracIni#trac-section part for details about those settings.

Known issues


See also: TracFineGrainedPermissions#AuthzSourcePolicy, AuthzPolicy (the more general one, not just for source)

Note: See TracWiki for help on using the wiki.