wiki:SvnAuthzAdminPlugin

Version 23 (modified by anonymous, 5 years ago) (diff)

Syntax highlighting.

SvnAuthzAdminPlugin: Authz 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.

The development of this plugin was sponsored by EU Edge LLC. See also TracSvnAuthzPlugin for editing the file without GUI.

Bugs/Feature Requests

Existing bugs and feature requests for SvnAuthzAdminPlugin are here.

If you have any issues, create a new ticket.

Install, Download and Source

For installation, refer to TracPlugins.

Download [download:svnauthzadminplugin the zipped source], check out here using Subversion, or browse the source with Trac.

Example

It uses the authz_file setting from the [trac] section of trac.ini to find the svnauthz file.

There is a read_only_display option that, when enabled, prevents any changes to the authz_file being made. There is also a show_all_repos option to show all repo paths contained in the authz_file.

[components]
svnauthz.* = enabled 

[svnauthzadmin]
show_all_repos = true
read_only_display = false

This plugin requires Trac 0.12 or later, and uses the repo names reported in the Version Control | Repositories admin panel to determine which repos to display when the show_all_repos option is set to false (default).

The following screenshot shows the plugin in action:

Screenshot of SvnAuthzAdminPlugin

Recent Changes

16825 by rjollos on 2017-09-24 06:49:34
SvnAuthzAdminPlugin 1.0dev: Add file missing from r16822

Refs #13118.

16822 by rjollos on 2017-09-24 05:56:11
SvnAuthzAdminPlugin 1.0dev: Add extension point for changes to authz file

The design should be reconsidered after implementing a similar
change listener for the Configuration class (trac:#11339).

Refs #13118.

16236 by rjollos on 2017-02-12 23:07:49
1.0dev: Adapt to Trac 1.2 location of authz_file
(more)

Author/Contributors

Author: kisg
Maintainer: rjollos
Contributors: Dennis McRitchie

Attachments (1)

Download all attachments as: .zip