Compare commits

...

3 Commits

Author SHA1 Message Date
Carl Bettermann
4fc34e49df Merge branch 'restrict-default-addressbook-privileges' into 'master'
Set default privileges to none to prevent other users from accessing address books

See merge request davical-project/davical!146
2025-04-25 08:56:25 +00:00
Carl Bettermann
1647d2b5cd changed recommendation in config aswell 2025-04-25 08:56:20 +00:00
Carl Bettermann
2caea0a39e Set default privileges to none to prevent other users from accessing address books 2025-04-25 08:56:20 +00:00
2 changed files with 4 additions and 3 deletions

View File

@ -268,7 +268,7 @@ $c->admin_email = 'calendar-admin@example.com';
// 'type' => 'calendar',
// 'name' => 'calendar',
// 'displayname' => '%fn calendar',
// 'privileges' => null
// 'privileges' => array()
// )
// );

View File

@ -107,7 +107,8 @@ function CreateHomeCollections( $username, $default_timezone = null ) {
if( !empty($c->home_addressbook_name) )
$c->default_collections[] = array(
'type' => 'addressbook',
'name' => $c->home_addressbook_name
'name' => $c->home_addressbook_name,
'privileges' => array()
);
}