[CalendarServer-changes] [10896] CalendarServer/trunk/twistedcaldav/directory/calendaruserproxy.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Mar 12 10:26:08 PDT 2013
Revision: 10896
http://trac.calendarserver.org//changeset/10896
Author: sagen at apple.com
Date: 2013-03-12 10:26:08 -0700 (Tue, 12 Mar 2013)
Log Message:
-----------
Fixes a problem where groups were being ignored in the proxy db
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/directory/calendaruserproxy.py
Modified: CalendarServer/trunk/twistedcaldav/directory/calendaruserproxy.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/calendaruserproxy.py 2013-03-12 17:21:21 UTC (rev 10895)
+++ CalendarServer/trunk/twistedcaldav/directory/calendaruserproxy.py 2013-03-12 17:26:08 UTC (rev 10896)
@@ -375,7 +375,9 @@
p = self.pcollection.principalForUID(uid)
if p:
# Only principals enabledForLogin can be a delegate
- if p.record.enabledForLogin:
+ # (and groups as well)
+ if (p.record.enabledForLogin or
+ p.record.recordType == p.record.service.recordType_groups):
found.append(p)
# Make sure any outstanding deletion timer entries for
# existing principals are removed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130312/7eea4495/attachment.html>
More information about the calendarserver-changes
mailing list