Compare commits

...

4 Commits

Author SHA1 Message Date
Carl Bettermann
260bc260ff Merge branch 'restrict-default-addressbook-privileges' into 'master'
Set default privileges to prevent other users from accessing addressbooks

See merge request davical-project/davical!146
2026-05-28 02:46:33 +00:00
Florian Schlichting
e990c2edcb fix Debian autopkgtest / CI: prevent caching of phpunit results, like we do for "make test" 2026-05-27 23:10:34 +02: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
4 changed files with 12 additions and 4 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()
// )
// );

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
davical (1.1.13-2) unstable; urgency=medium
* fix Debian autopkgtest / CI: prevent caching of phpunit results, like we
do already for "make test"
-- Florian Schlichting <fsfs@debian.org> Wed, 27 May 2026 23:10:28 +0200
davical (1.1.13-1) unstable; urgency=medium
[ Andrew Ruthven ]

View File

@ -4,5 +4,5 @@
set -e
# 2) phpunit tests
phpunit --include-path "/usr/share/davical:/usr/share/awl" testing/phpunit
phpunit --include-path "/usr/share/davical:/usr/share/awl" --do-not-cache-result testing/phpunit

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