[turba] Turba-H3-2.0.3 - Address book is common to all

vcputtini@consultecnica.com.br vcputtini at consultecnica.com.br
Wed Aug 17 05:23:32 PDT 2005


Good Morning,

I just installed turba-h3-2.0.3 to work with Horde 3.0.5 and IMP h3-4.0.3. I
am using mysql trying to achieve a different address book for each user.
Unfortunately this is not the case as every user can view the contacts that
someone else creates.
I could not find an appropriate solution to this problem - can anyone please
help?

Every save a contact the owner_id field is save with Administrator string, Why?


Thanks for any help.




My sources.php

$cfgSources['localsql'] = array(
    'title' => _("Meu Caderno de Endereços"),
    '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_objects')),

    // Old Example:
    'params' => array(
         'phptype' => 'mysql',
         'hostspec' => 's1.XYZ.com.br',
         'username' => 'XXXX',
         'password' => 'XXXX',
         'database' => 'horde',
         'table' => 'turba_objects',
         'charset' => 'iso-8859-1'
    ),
    'map' => array(
        '__key' => 'object_id',
        '__owner' => 'owner_id',
        '__type' => 'object_type',
        '__members' => 'object_members',
        '__uid' => 'object_uid',
        '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' => false,
    'readonly' => false,
    'admin' => array(),
    'export' => true
);



----------------------------------------
CONSULTECNICA (www.consultecnica.com.br)
11 4587-2099                  Jundiai/SP


More information about the turba mailing list