[Tickets #14529] Add file based Group driver

noreply at bugs.horde.org noreply at bugs.horde.org
Fri Dec 2 14:15:22 UTC 2016


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/14529
------------------------------------------------------------------------------
  Ticket             | 14529
  Created By         | Thomas Jarosch <thomas.jarosch at intra2net.com>
  Summary            | Add file based Group driver
  Queue              | Horde Framework Packages
  Type               | Enhancement
  State              | New
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Thomas Jarosch <thomas.jarosch at intra2net.com> (2016-12-02 14:15) wrote:

Hello together,

attached is a new file based group driver. It allows you to use  
/etc/group or a custom file as provider for the Horde group information.

The driver itself went through three incarnations:
- around 2008 created as quick proof of concept
- turned into a site specific driver in 2012 by Jan
- refactored to be a generic driver with unit tests by me today

Some design considerations:
- group names are the group ids by default. This driver
   is mainly used with IMAP folder ACLs based on group name.

   The newly added 'use_gid' feature allows you to use
   the GIDs from the group file instead if ever wanted.

- Horde_Cache based caching is currently disabled as it would
   need way more complex logic to invalidate the cache on changes
   to the group file without much (performance) gain.

Please let me know what you think.

Cheers,
Thomas






More information about the bugs mailing list