[turba] 2 Address book

lst_hoe01@kwsoft.de lst_hoe01 at kwsoft.de
Mon Jun 26 08:22:09 PDT 2006


Zitat von Marco Pirovano <marco.pirovano at unibocconi.it>:

> Scrive Linux Corporativo <linuxcorporate at gmail.com>:
>
>> Hi everybody,
>>
>> I´m using the latest versions of HORDE,IMP,TURBA
>> with data on localsql (MySQL).
>> The address book of each user is working correctly.
>>
>> WHAT I NEED:
>> Beyond each user contact list, I want show to the users
>> a public contact list of my companies users emails, where everyone can
>> query, but not change the data.
>>
>> Is this possible? Can someone help me please?
>
>
> Yes, it's possible.
>
> Create an other table, like turba_objects, named for example, 
> "company_objects",
> then in sources.php create a new entry like "localsql" named "companysql",
> where in the table line you insert "company_objects", then in "public" and
> "readonly" line put "true".
>
>
> $cfgSources['companysql'] = array(
>    'title' => 'Company Address Book',
>    'type' => 'sql',
>    'params' => array(
>        'phptype' => 'mysql',
>        'hostspec' => 'localhost',
>        'username' => 'horde',
>        'password' => 'password',
>        'database' => 'horde',
>        'table' => 'company_objects'
>    ),
>   ...
>   ...
>   'public' => true,
>   'readonly' => true,
>
>
> Hope this help.
>
> Ciao,
> Marco

Hmm...
For the latest releases (> 2.1) the "readonly" and "admin" option in 
the config files are deprecated. One should use the Horde Perms UI but 
until now i have not figured out how to get it work this way. Any 
documentation out there??

Regards

Andreas



More information about the turba mailing list