summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-05-14 07:17:47 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-05-14 07:17:47 (GMT)
commitdfe4052692b05ed8672cd856b3baa8e95fb90d7c (patch)
treea21497c83e661abdfc4cacd95a4f573af0cdbf17
parent70d7b18252ce32abba7280fe94cf8f5b04cfa575 (diff)
downloadiRony-dfe4052692b05ed8672cd856b3baa8e95fb90d7c.tar.gz
Remove /calendar-proxy-* entries to avoid false listing of delegates in CalDAV clients (#3059)
-rw-r--r--lib/Kolab/DAVACL/PrincipalBackend.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/Kolab/DAVACL/PrincipalBackend.php b/lib/Kolab/DAVACL/PrincipalBackend.php
index fcd7417..bf19c44 100644
--- a/lib/Kolab/DAVACL/PrincipalBackend.php
+++ b/lib/Kolab/DAVACL/PrincipalBackend.php
@@ -151,10 +151,12 @@ class PrincipalBackend implements \Sabre\DAVACL\PrincipalBackend\BackendInterfac
$principal = $this->getPrincipalByPath($principal);
if (!$principal) throw new Exception('Principal not found');
- // TODO: for now the user principal has only its own groups
+ // TODO: implement full calendar delegation (with information from LDAP kolabDelegate)
return array(
- 'principals/'.$name.'/calendar-proxy-read',
- 'principals/'.$name.'/calendar-proxy-write',
+ // Calendar delegation is not supported by our backend
+ //'principals/'.$name.'/calendar-proxy-read',
+ //'principals/'.$name.'/calendar-proxy-write',
+
// The addressbook groups are not supported in Sabre,
// see http://groups.google.com/group/sabredav-discuss/browse_thread/thread/ef2fa9759d55f8c#msg_5720afc11602e753
//'principals/'.$name.'/addressbook-proxy-read',