Edgewall Software
Modify

Opened 18 years ago

Last modified 10 years ago

#4224 new enhancement

Using SVN AUTHZ groups to map to group permissions in Trac

Reported by: leighmcc@… Owned by:
Priority: normal Milestone: next-major-releases
Component: admin/web Version: none
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I have an authz file that I use with Apache/SVN that has a definition of some groups.

e.g. G_developers, G_admin, etc

I have the same named groups in Trac created.

I want Trac to automatically consider the usernames in the AUTHZ file to have the same permissions as the groups that match.

How do I do this?

Attachments (0)

Change History (10)

comment:1 by Emmanuel Blot, 18 years ago

Priority: highestnormal
Resolution: invalid
Status: newclosed

As detailled in the big red box in the New Ticket page, please ask for installation questions over the MailingList or on #IRC

comment:2 by Matthew Good, 18 years ago

Milestone: 0.11
Resolution: invalid
Status: closedreopened
Type: defectenhancement

This is not possible a this time. I'll work on making this available in Trac 0.11 and it should be possible to make a plugin for this with 0.10.

comment:3 by Matthew Good, 18 years ago

Owner: changed from Christopher Lenz to Matthew Good
Status: reopenednew

comment:4 by Matthew Good, 18 years ago

Owner: changed from Matthew Good to Alec Thomas

I've uploaded a simple plugin for 0.10 to do this th:AuthzGroupsPlugin

This problem will probably be fixed in a more general way with the security changes in development for 0.11 by athomas.

comment:5 by anonymous, 16 years ago

This would be a great feature. Sady, it hasn't be integrated into trac 0.11 yet. I hope this feature is coming soon.

comment:6 by Christian Boos, 16 years ago

Milestone: 0.11-retriage0.13

Group handling is problematic currently and needs to be fixed in 0.13 at worst. Check that this plugin still works.

in reply to:  6 comment:7 by sahendrickson@…, 14 years ago

Replying to cboos:

Group handling is problematic currently and needs to be fixed in 0.13 at worst. Check that this plugin still works.

It doesn't seem to be working with Trac 0.12 :(

comment:8 by sahendrickson@…, 14 years ago

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12rc1-py2.6.egg/trac/loader.py", line 92, in _load_py_files
    module = imp.load_source(plugin_name, plugin_file)
  File "/var/trac/plugins/authzgroups.py", line 3, in <module>
    from trac.versioncontrol.svn_authz import SubversionAuthorizer, \
ImportError: cannot import name SubversionAuthorizer

comment:9 by Christian Boos, 14 years ago

If you want to report specific issues with th:AuthzGroupsPlugin, rather do that on Trac-hacks.

The ticket itself depends on #5648. See also #5246.

comment:10 by Ryan J Ollos, 10 years ago

Owner: Alec Thomas removed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.