wiki:TracUnixGroupsPlugin

Trac Unix Groups plugin

Description

This plugin allows Trac to use the Unix group membership for permissions assignment. It is especially convenient if you host multiple Trac projects and want to use same groups across them without defining each group in every project.

Current implementation is not very efficient: it is invoking 'groups' command (which must be in PATH) to fetch user groups. Perhaps it could be optimized to use system calls to fetch this data.

The code is based on HtgroupsPlugin.

Bugs/Feature Requests

Existing bugs and feature requests for TracUnixGroupsPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

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

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

Configuration

  1. Add user to group 'developers' using unix 'vigr' command.
  2. Use group '@developers' in track (Admin/Permissions) to assign permissions to this group members. Adding new members to this group later on will automatically give them access to these permissions in Trac modules using it.

Recent Changes

9860 by lord on 2011-02-14 00:34:36
bugfix
9859 by lord on 2011-02-14 00:27:45
corrected for output of Linux (vs. Mac) 'groups' command
9858 by lord on 2011-02-14 00:12:37
initial implementation
(more)

Author/Contributors

Author: lord
Maintainer: Vadim Zaliva
Contributors:

Last modified 10 months ago Last modified on Nov 9, 2015, 2:38:48 PM