[CalendarServer-changes] [4537] CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/ directory/calendar.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Sep 14 17:33:54 PDT 2009
Revision: 4537
http://trac.macosforge.org/projects/calendarserver/changeset/4537
Author: cdaboo at apple.com
Date: 2009-09-14 17:33:52 -0700 (Mon, 14 Sep 2009)
Log Message:
-----------
Make sure proxies have current-user-privilege-set granted too.
Modified Paths:
--------------
CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/directory/calendar.py
Modified: CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/directory/calendar.py
===================================================================
--- CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/directory/calendar.py 2009-09-15 00:31:02 UTC (rev 4536)
+++ CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/directory/calendar.py 2009-09-15 00:33:52 UTC (rev 4537)
@@ -376,14 +376,21 @@
# DAV:read access for this principal's calendar-proxy-read users.
davxml.ACE(
davxml.Principal(davxml.HRef(joinURL(myPrincipal.principalURL(), "calendar-proxy-read/"))),
- davxml.Grant(davxml.Privilege(davxml.Read())),
+ davxml.Grant(
+ davxml.Privilege(davxml.Read()),
+ davxml.Privilege(davxml.ReadCurrentUserPrivilegeSet()),
+ ),
davxml.Protected(),
TwistedACLInheritable(),
),
# DAV:read/DAV:write access for this principal's calendar-proxy-write users.
davxml.ACE(
davxml.Principal(davxml.HRef(joinURL(myPrincipal.principalURL(), "calendar-proxy-write/"))),
- davxml.Grant(davxml.Privilege(davxml.Read()), davxml.Privilege(davxml.Write())),
+ davxml.Grant(
+ davxml.Privilege(davxml.Read()),
+ davxml.Privilege(davxml.ReadCurrentUserPrivilegeSet()),
+ davxml.Privilege(davxml.Write())
+ ),
davxml.Protected(),
TwistedACLInheritable(),
),
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090914/6976d2f1/attachment.html>
More information about the calendarserver-changes
mailing list