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:18:20 (GMT)
commit2b9d2ab1c0d81f432ecc2ad64e723cc86f71eb48 (patch)
tree205e811d04f599fae6818db8cb2436b9fd6626ba
parentd8eaca9ad9e3f2886b25e6af71f2720b3b184bc8 (diff)
downloadiRony-2b9d2ab1c0d81f432ecc2ad64e723cc86f71eb48.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',