Ticket #4224 (new enhancement)
Using SVN AUTHZ groups to map to group permissions in Trac
| Reported by: | leighmcc@… | Owned by: | athomas |
|---|---|---|---|
| Priority: | normal | Milestone: | next-major-0.1X |
| Component: | admin/web | Version: | none |
| Severity: | normal | Keywords: | |
| Cc: |
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
Change History
comment:1 Changed 4 years ago by eblot
- Priority changed from highest to normal
- Status changed from new to closed
- Resolution set to invalid
comment:2 Changed 4 years ago by mgood
- Status changed from closed to reopened
- Type changed from defect to enhancement
- Resolution invalid deleted
- Milestone set to 0.11
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 Changed 4 years ago by mgood
- Owner changed from cmlenz to mgood
- Status changed from reopened to new
comment:4 Changed 4 years ago by mgood
- Owner changed from mgood to athomas
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 Changed 22 months ago by anonymous
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 follow-up: ↓ 7 Changed 17 months ago by cboos
- Milestone changed from 0.11-retriage to 0.13
Group handling is problematic currently and needs to be fixed in 0.13 at worst. Check that this plugin still works.
comment:7 in reply to: ↑ 6 Changed 3 months ago by sahendrickson@…
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 Changed 3 months ago by sahendrickson@…
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 Changed 3 months ago by cboos
If you want to report specific issues with th:AuthzGroupsPlugin, rather do that on Trac-hacks.



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