Modify

Opened 7 years ago

Last modified 7 years ago

#1274 new task

Please describe how this plugin is used with an svn conf file

Reported by: anonymous Owned by: mgood
Priority: normal Component: AuthzGroupsPlugin
Severity: trivial Keywords:
Cc: Trac Release: 0.10

Description

This plugin sounds very interesting, but its appears to have dependencies on other libraries (trac.versioncontrol.svn_authz) that may not be present in a typical Trac installation.

Please describe how this plugin is used and what, if any, dependencies it has.

Thanks!

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by rahim

  • Severity changed from normal to trivial

Agreed - some basic install instructions on the plugin's homepage would be really useful.

comment:2 Changed 7 years ago by stefan.norman@…

I got this plugin working like this:

Installed the plugin by dropping authzgroups.py in the plugins folder of my project.

I have a authorization file (/data/config/authz) containing:

[groups]
developer = bob,john

In apache2.conf the authorization file is defined:

<Location /svn>
  ...
  AuthzSVNAccessFile /data/config/authz
</Location>

and in trac.ini:

[trac]
authz_file = /data/config/authz

Then I used trac-admin to add permissions for the developer group:

trac-admin /path/to/projenv permission add developer TRAC_ADMIN

After a restart of Apache it worked like a charm.

Stefan

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.