[turba] private addressbook for "admin"

lst_hoe lst_hoe@kwsoft.de
Fri Nov 29 15:47:59 2002


Hello

i have configured turba to use MySQL and two addressbooks. One "personal"
for every user (read/write) and a "common" with only read-access except for
the "admin" user. With this setup the "admin" user get only one addressbook
which is readable by all?

Is this intended behavior?

We use turba 1.1 with the following in "sources.php" :

$cfgSources['pers_sql'] = array(
    'title' => 'eigenem Adressbuch',

'type' => 'sql',
    'params' => array(
        'phptype' => 'mysql',

  'hostspec' => 'localhost',
        'username' => 'horde',

'password' => 'xxxxx',
        'database' => 'horde',
        'table' =>
'turba_objects'
    ),
    'map' => array(
        '__key' => 'object_id',

       '__owner' => 'owner_id',
        'name' => 'object_name',

'email' => 'object_email',
        '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'
    ),
    'search' => array(
        'name',

    'email'
    ),
    'strict' => array(
        'object_id'
    ),

'public' => false,
    'readonly' => false,
    'admin' => array(),

'export' => true
);



$cfgSources['local_sql'] = array(
    'title' =>
'öffentliches Adressbuch',
    'type' => 'sql',
    'params' => array(

   'phptype' => 'mysql',
        'hostspec' => 'localhost',

'username' => 'horde',
        'password' => 'xxxxx',
        'database' =>
'horde',
        'table' => 'turba_objects'
    ),
    'map' => array(

   '__key' => 'object_id',
        '__owner' => 'owner_id',
        'name'
=> 'object_name',
        'email' => 'object_email',
        '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'
    ),
    'search'
=> array(
        'name',
        'email'
    ),
    'strict' => array(

    'object_id'
    ),
    'public' => true,
    'readonly' => true,

'admin' => array('admin'),
    'export' => false
);


Thanxs for any help

Andreas



More information about the turba mailing list