Ht Group Editor Plugin


This an editor with drop down lists to edit the ht groups file for a project. It uses the Genshi templating engine, and is a replacement for HtgroupsPlugin. It was offered as a contribution to the author, but there was no response.

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.


4 / 4


1 / 4


0 / 1


Download the zipped source from here.


You can check out HtGroupEditorPlugin from here using Subversion, or browse the source with Trac.

Installation and Configuration

It uses the following additional module which may require installation: ConfigObj from

Install in the normal way with python install.

To configure the file locations, add the following to your trac.ini file:

group_file = /some/project/directory/groups


group_file = /some/project/directory/groups

Recent Changes

13124 by rjollos on 2013-05-14 10:43:04
Fixes #6659:

  • Remove empty entry in username listbox.
  • Display message when all users are in the group, rather than an empty listbox.

Patch by wallento.

13123 by rjollos on 2013-05-14 10:27:44
Fixes #6248: Avoid possible issues with case-sensitive package name in package_data specification. The error reported in #6248 has not yet been reproduced.
13122 by rjollos on 2013-05-14 10:27:31
Refs #6249: Avoid traceback when the htgroups file is empty. Patch by wallento.


Author: robert_martin
Maintainer: none (needsadoption)

Last modified 5 months ago Last modified on Sep 15, 2016, 8:26:55 PM

Attachments (1)

Download all attachments as: .zip