[CalendarServer-changes] [13729] CalendarServer/trunk/txdav/dps/client.py

source_changes at macosforge.org source_changes at macosforge.org
Sat Jul 5 19:59:59 PDT 2014


Revision: 13729
          http://trac.calendarserver.org//changeset/13729
Author:   cdaboo at apple.com
Date:     2014-07-05 19:59:59 -0700 (Sat, 05 Jul 2014)
Log Message:
-----------
Need proxy groups expanded.

Modified Paths:
--------------
    CalendarServer/trunk/txdav/dps/client.py

Modified: CalendarServer/trunk/txdav/dps/client.py
===================================================================
--- CalendarServer/trunk/txdav/dps/client.py	2014-07-03 22:49:32 UTC (rev 13728)
+++ CalendarServer/trunk/txdav/dps/client.py	2014-07-06 02:59:59 UTC (rev 13729)
@@ -42,6 +42,7 @@
     VerifyPlaintextPasswordCommand, VerifyHTTPDigestCommand,
     WikiAccessForUIDCommand, ContinuationCommand
 )
+from txdav.who.delegates import RecordType as DelegatesRecordType
 from txdav.who.directory import (
     CalendarDirectoryRecordMixin, CalendarDirectoryServiceMixin
 )
@@ -381,7 +382,13 @@
 
 
     def members(self):
-        if self.recordType == RecordType.group:
+        if self.recordType in (
+            RecordType.group,
+            DelegatesRecordType.readDelegateGroup,
+            DelegatesRecordType.writeDelegateGroup,
+            DelegatesRecordType.readDelegatorGroup,
+            DelegatesRecordType.writeDelegatorGroup,
+        ):
             return self.service._call(
                 MembersCommand,
                 self.service._processMultipleRecords,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140705/f6e256cb/attachment.html>


More information about the calendarserver-changes mailing list