Set default privileges to none to prevent other users from accessing address books

This commit is contained in:
Carl Bettermann 2025-04-24 15:03:41 +02:00 committed by Carl Bettermann
parent fc4f6013db
commit 2caea0a39e

View File

@ -106,8 +106,9 @@ function CreateHomeCollections( $username, $default_timezone = null ) {
// XXX Should we not do this for ROOMS?
if( !empty($c->home_addressbook_name) )
$c->default_collections[] = array(
'type' => 'addressbook',
'name' => $c->home_addressbook_name
'type' => 'addressbook',
'name' => $c->home_addressbook_name,
'privileges' => array()
);
}