Edgewall Software

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

# Trac < 1.1.2
permission_policies = AuthzSourcePolicy,
 DefaultPermissionPolicy,
 LegacyAttachmentPolicy
# In Trac 1.1.2 and later
permission_policies = AuthzSourcePolicy,
 ReadonlyWikiPolicy,
 DefaultPermissionPolicy,
 LegacyAttachmentPolicy

For more details, see TracIni#trac-section or TracFineGrainedPermissions#AuthzSourcePolicy

Known issues


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

Last modified 11 years ago Last modified on Oct 10, 2013, 12:47:42 AM
Note: See TracWiki for help on using the wiki.