[turba] Re: Shared address book

Bill Graham grahamcw at hurleybulldogs.com
Thu Dec 30 11:33:07 PST 2004


Here is my entry for a shared address book.
Then use premissions and add a sources child permission to turba - then 
define a children  to sources for the local and shared source.

$cfgSources['sharesql'] = array(
    'title' => _("Shared Addressbook"),
    'type' => 'sql',
    // The default connection details are pulled from the Horde-wide
    // SQL connection configuration.
    //
    // The old example illustrates how to use an alternate database
    // configuration.
    //
    // New Example:
    'params' => array_merge($conf['sql'], array('table' => 
'turba_shared_objects')),
    'map' => array(
        '__key' => 'object_id',
        '__owner' => 'owner_id',
        '__type' => 'object_type',
        '__members' => 'object_members',
        'name' => 'object_name',
        'email' => 'object_email',
        'alias' => 'object_alias',
        'homeAddress' => 'object_homeaddress',
        'workAddress' => 'object_workaddress',
        'homePhone' => 'object_homephone',
        'workPhone' => 'object_workphone',
        'cellPhone' => 'object_cellphone',
        'fax' => 'object_fax',
        'title' => 'object_title',
        'company' => 'object_company',
        'notes' => 'object_notes',
        'pgpPublicKey' => 'object_pgppublickey',
        'smimePublicKey' => 'object_smimepublickey',
        'freebusyUrl' => 'object_freebusyurl'
    ),
    'search' => array(
        'name',
        'email'
    ),
    'strict' => array(
        'object_id',
        'owner_id',
        'object_type',
    ),
    'public' => true,
    'readonly' => false,
    'admin' => array('mailadm'),
    'export' => true
);

Bill

"Martin Ziegler" <mz at newyorkcity.de> wrote in message 
news:2592098710.1104396627 at DE-LT-052225.emea.wcomnet.com...
> Howdy,
>
> is there any way to have a second address book for which it's possible to 
> add certain permissions for single users ?
>
> Thanks, Martin
>
> -- 
> Turba mailing list - Join the hunt: http://horde.org/bounties/#turba
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: turba-unsubscribe at lists.horde.org
> 





More information about the turba mailing list