HomePhorge

Allow three locations for the specification of folders to automatically…

Description

Allow three locations for the specification of folders to automatically create when a user is added:

  1. The section in the configuration that is named after the child or alias domain used for the result attribute of the user,
  2. The section in the configuration that is named after the primary domain used for the result attribute of the user,
  3. The default section, [kolab]

This means that, for example:

[kolab]
auto_createfolders = [
        {
                'Some folder': {}
            }
    ]

[primary.tld]
auto_createfolders = [
        {
                'Not another folder': {}
            }
    ]

[alias.tld]
auto_createfolders = [
        {
                'Yes please another folder': {}
            }
    ]

A user with a result attribute (mail by default) value of john@alias.tld will have a folder named *Yes please another folder*, and john@primary.tld will get a folder named *Not another folder*.

Details

Provenance
vanmeeuwenAuthored on Feb 7 2016, 11:40 AM
vanmeeuwenPushed on Feb 7 2016, 11:44 AM
Parents
rP6f8c9e5f15cb: Attempt to load the #chwala database schema files as well (Ref. T967)
Branches
Unknown
Tags
Unknown
Build Status
Buildable 2691
Build 2593: Continuous Integration for Software Development Projects