wiki:HtGroupEditorPlugin

Version 10 (modified by Ryan J Ollos, 11 years ago) (diff)

Added syntax highlighting.

Ht Group Editor Plugin

Notice: This plugin is unmaintained and available for adoption.

Description

This a simple 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 small fork on GitHub with some improvements/fixes. Feel free to suggest new. Install with pip install HtGroupEditorPlugin.

Screenshot.

File Locations

The 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 maybe specifed 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.

[account-manager]
group_file = /some/project/directory/groups

or

[htgroups]
group_file = /some/project/directory/groups

Dependencies

It uses the following additional modules which may require installation

  1. ConfigObj from http://www.voidspace.org.uk/python/configobj.html#introduction

Bugs/Feature Requests

Existing bugs and feature requests for HtGroupEditorPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:htgroupeditorplugin here].

Source

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

Example

Install in the normal way with python setup.py install

Recent Changes

16401 by rjollos on 2017-03-25 09:55:44
Remove build directory
16398 by rjollos on 2017-03-25 09:48:50
Remove dist directories
16393 by rjollos on 2017-03-25 09:19:41
Remove eggs
(more)

Author/Contributors

Author: robert_martin
Maintainer: none
Contributors:
License: BSD

Attachments (1)

Download all attachments as: .zip