wiki:TracUnixGroupsPlugin

Version 7 (modified by lord, 4 years ago) (diff)

--

Trac Unix Groups plugin

Description

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

The implementation is not very efficient - it is invoking 'groups' command 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.

Example

  1. Add user to group 'developers' using unix 'vigr' command
  2. Use group '@developers' in track (Admin/Permissions) to assign him permissions

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

Author/Contributors

Author: lord
Maintainer: lord
Contributors: