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

This commit is contained in:
Ralf Becker 2012-01-31 00:20:58 +00:00
parent 5d2d28ee96
commit 1dd3a9e083

View File

@ -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)
{