Version 8 (modified by lord, 6 years ago) (diff)


Trac Unix Groups plugin


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 the zipped source from [download:tracunixgroupsplugin here].


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


  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
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: lord
Maintainer: lord