[CalendarServer-changes] [9887] CalendarServer/branches/users/cdaboo/ischedule-dkim/twistedcaldav/ scheduling/implicit.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Oct 3 02:41:56 PDT 2012


Revision: 9887
          http://trac.calendarserver.org//changeset/9887
Author:   cdaboo at apple.com
Date:     2012-10-03 02:41:56 -0700 (Wed, 03 Oct 2012)
Log Message:
-----------
Allow iSchedule with remote cuaddrs if iSchedule enabled.

Modified Paths:
--------------
    CalendarServer/branches/users/cdaboo/ischedule-dkim/twistedcaldav/scheduling/implicit.py

Modified: CalendarServer/branches/users/cdaboo/ischedule-dkim/twistedcaldav/scheduling/implicit.py
===================================================================
--- CalendarServer/branches/users/cdaboo/ischedule-dkim/twistedcaldav/scheduling/implicit.py	2012-10-03 09:40:15 UTC (rev 9886)
+++ CalendarServer/branches/users/cdaboo/ischedule-dkim/twistedcaldav/scheduling/implicit.py	2012-10-03 09:41:56 UTC (rev 9887)
@@ -1143,7 +1143,7 @@
         if config.Scheduling.iMIP.Enabled and self.organizerAddress.cuaddr.lower().startswith("mailto:"):
             return is_server
 
-        if not local_organizer and is_server:
+        if not config.Scheduling.iSchedule.Enabled and not local_organizer and is_server:
             # Coerce ORGANIZER to SCHEDULE-AGENT=NONE
             log.debug("Attendee '%s' is not allowed to use SCHEDULE-AGENT=SERVER on organizer: UID:%s" % (self.attendeePrincipal, self.uid,))
             self.calendar.setParameterToValueForPropertyWithValue("SCHEDULE-AGENT", "NONE", "ORGANIZER", None)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20121003/2479b4ed/attachment.html>


More information about the calendarserver-changes mailing list