From 63d584afb5727737fe73a0ca2ecf720022b33922 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Wed, 14 Aug 2019 13:38:11 +0200 Subject: use principaluri instead of userid, allowing to add delegates for rooms and things Signed-off-by: Georg Ehrke !fixup add owner_id and proxy_id as db index, since we use it for querying Signed-off-by: Georg Ehrke !fixup don't add ACL for each individual proxy, just use calendar-proxy groups Signed-off-by: Georg Ehrke !fixup allow delegation of resources / rooms Signed-off-by: Georg Ehrke !fixup fix addIndex call in migration Signed-off-by: Georg Ehrke !fixup fix remaining constructor calls of Principal Signed-off-by: Georg Ehrke !fixup minor fixes and unit tests Signed-off-by: Georg Ehrke --- apps/dav/appinfo/v1/carddav.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/dav/appinfo/v1/carddav.php') diff --git a/apps/dav/appinfo/v1/carddav.php b/apps/dav/appinfo/v1/carddav.php index 60669df60ba..40ee12f1944 100644 --- a/apps/dav/appinfo/v1/carddav.php +++ b/apps/dav/appinfo/v1/carddav.php @@ -47,8 +47,8 @@ $principalBackend = new Principal( \OC::$server->getGroupManager(), \OC::$server->getShareManager(), \OC::$server->getUserSession(), - \OC::$server->getConfig(), \OC::$server->getAppManager(), + \OC::$server->query(\OCA\DAV\CalDAV\Proxy\ProxyMapper::class), 'principals/' ); $db = \OC::$server->getDatabaseConnection(); -- cgit v1.2.3