wiki:TracUnixGroupsPlugin

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 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.

Example

  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

Author/Contributors

Author: lord
Maintainer: lord
Contributors:

Last modified 4 years ago Last modified on Feb 14, 2011, 2:25:01 AM