wiki:SvnAuthzAdminPlugin

Version 1 (modified by kisg, 7 years ago) (diff)

New hack SvnAuthzAdminPlugin, created by kisg

Svnauthz File Administration Plugin

Description

This plugin registers a module into the WebAdmin to allow the configuration of the svnauthz file from the web inferface. It uses the AccountManager plugin to present the list of users.

Bugs/Feature Requests

Existing bugs and feature requests for SvnAuthzAdminPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out SvnAuthzAdminPlugin from here using Subversion, or browse the source with Trac.

Example

It uses the authz_file setting from the trac.ini to find the svnauthz file. Currently it only supports svnauthz files without the repository prefix, so the authz_module_name setting in trac.ini should be left empty.

Recent Changes

[13892] by rjollos on 2014-04-30 23:00:24
Executed reindent.py on codebase.
[11873] by rjollos on 2012-08-01 06:34:25

Fixes #5689:

  • Added checks for non-empty group and path before attempting to add them. A warning is added if either are empty.
  • Extracted code to a method _get_authz.
  • Corrected tabs and indentation.
[11872] by rjollos on 2012-08-01 05:51:42
  • Degrade gracefully and add warning when authz_file is not defined.
  • Organized imports and removed some dead code.

Author/Contributors

Author: kisg
Contributors:

Attachments (1)

Download all attachments as: .zip