Contents
Manage user groups in configuration file
Notice: This plugin is unmaintained and available for adoption.
Notice: there are plans to integrate the functionality of this plugin into AccountManagerPlugin.
Description
This an editor with drop down lists to edit the ht groups file for a project. It uses the Genshi templating engine.
It is a companion plugin to the FineGrainedPageAuthzEditorPlugin.
Fork: I have made a fork on GitHub with some improvements and fixes. Feel free to suggest new enhancements and fixes. Install with pip install HtGroupEditorPlugin
.
File Locations
This plugin tries to find the names of the files it has to work with from the config object that reads them in from the normal config file for a Trac project. They may be specified in a project specific file or an inherited one.
The list of users are obtained from the account_manager object, that will read them from one of its password stores. See AccountManagerPlugin documentation for the appropriate configuration options.
For the group file it is looked for under the account-manager section and the name group_file. If this fails it then looks under the htgroups section.
Bugs/Feature Requests
Existing bugs and feature requests for HtGroupEditorPlugin are here.
If you have any issues, create a new ticket.
defect |
4 / 4 |
||
---|---|---|---|
enhancement |
1 / 4 |
||
task |
0 / 1 |
Download
Download the zipped source from here.
Source
You can check out HtGroupEditorPlugin from here using Subversion, or browse the source with Trac.
Installation
It uses the following additional module which may require installation: ConfigObj from http://www.voidspace.org.uk/python/configobj.html#introduction
Install in the normal way with python setup.py install
.
Configuration
To configure the file locations, add the following to your trac.ini
file:
[account-manager] group_file = /some/project/directory/groups
or
[htgroups] group_file = /some/project/directory/groups
Recent Changes
Author/Contributors
Author: robert_martin
Maintainer: none (needsadoption)
Contributors:
Attachments (1)
-
grp_edit_screenshot.png (65.8 KB) - added by 15 years ago.
Screenshot
Download all attachments as: .zip