From: <ral...@us...> - 2012-01-31 00:20:58
|
Author: ralfbecker Date: Tue Jan 31 01:20:58 2012 New Revision: 37835 URL: http://svn.stylite.de/viewvc/egroupware?rev=37835&view=rev Log: 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 Modified: trunk/phpgwapi/inc/class.groupdav_handler.inc.php Modified: trunk/phpgwapi/inc/class.groupdav_handler.inc.php URL: http://svn.stylite.de/viewvc/egroupware/trunk/phpgwapi/inc/class.groupdav_handler.inc.php?rev=37835&r1=37834&r2=37835&view=diff ============================================================================== --- trunk/phpgwapi/inc/class.groupdav_handler.inc.php (original) +++ trunk/phpgwapi/inc/class.groupdav_handler.inc.php Tue Jan 31 01:20:58 2012 @@ -426,6 +426,9 @@ 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) { |