[Tickets #2467] NEW: TURBA-H3-2.0.3 - Address book is common to all

bugs@bugs.horde.org bugs at bugs.horde.org
Wed Aug 17 10:28:51 PDT 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=2467
-----------------------------------------------------------------------
 Ticket             | 2467
 Created By         | vcputtini at consultecnica.com.br
 Summary            |  	TURBA-H3-2.0.3 - Address book is common to all
 Queue              | Turba
 Version            | 2.0.3
 State              | Unconfirmed
 Priority           | 3. High
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


vcputtini at consultecnica.com.br (2005-08-17 10:28) wrote:

Hi,

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?

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
);





More information about the bugs mailing list