From 1dd3a9e083c5e1330893b5db6404c4e79af8434a Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 31 Jan 2012 00:20:58 +0000 Subject: [PATCH] fixed iCal did not allow user to update calendar color or name --> needs "write-properties" priviledge, which we now return for all calendar/addressbook collections --- phpgwapi/inc/class.groupdav_handler.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpgwapi/inc/class.groupdav_handler.inc.php b/phpgwapi/inc/class.groupdav_handler.inc.php index f36610bcaf..a9343b34a5 100644 --- a/phpgwapi/inc/class.groupdav_handler.inc.php +++ b/phpgwapi/inc/class.groupdav_handler.inc.php @@ -426,6 +426,9 @@ abstract class groupdav_handler if (!$user || $grants[$user] & EGW_ACL_READ) { $priviledes['read'] = 'read'; + // allows on all calendars/addressbooks to write properties, as we store them on a per-user basis + // and only allow to modify explicit named properties in CalDAV, CardDAV or Calendarserver name-space + $priviledes['write-properties'] = 'write-properties'; } if (!$user || $grants[$user] & EGW_ACL_ADD) {