[CalendarServer-changes] [4793] CalendarServer/branches/users/cdaboo/deployment-partition-4722/ twistedcaldav/scheduling/ischedule.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Nov 20 14:04:40 PST 2009


Revision: 4793
          http://trac.macosforge.org/projects/calendarserver/changeset/4793
Author:   cdaboo at apple.com
Date:     2009-11-20 14:04:37 -0800 (Fri, 20 Nov 2009)
Log Message:
-----------
Revert r4790 - that was not the right way to deal with this problem for partitioning.

Revision Links:
--------------
    http://trac.macosforge.org/projects/calendarserver/changeset/4790

Modified Paths:
--------------
    CalendarServer/branches/users/cdaboo/deployment-partition-4722/twistedcaldav/scheduling/ischedule.py

Modified: CalendarServer/branches/users/cdaboo/deployment-partition-4722/twistedcaldav/scheduling/ischedule.py
===================================================================
--- CalendarServer/branches/users/cdaboo/deployment-partition-4722/twistedcaldav/scheduling/ischedule.py	2009-11-20 20:15:01 UTC (rev 4792)
+++ CalendarServer/branches/users/cdaboo/deployment-partition-4722/twistedcaldav/scheduling/ischedule.py	2009-11-20 22:04:37 UTC (rev 4793)
@@ -171,13 +171,7 @@
     def _generateHeaders(self):
         self.headers = Headers()
         self.headers.setHeader('Host', utf8String(self.server.host + ":%s" % (self.server.port,)))
-
-        # So iCal uses a delegate principal as the originator when a delegate does a POST on behalf of their
-        # delegatee. If the delegate and delegatee are hosted on different nodes that causes an authorization problem.
-        # Instead we substitute the ORGANIZER principal in here - this matches what happens with implicit scheduling where
-        # the originator is derived from the organizer.
-        self.headers.addRawHeader('Originator', utf8String(self.scheduler.organizer.cuaddr))
-
+        self.headers.addRawHeader('Originator', utf8String(self.scheduler.originator.cuaddr))
         self._doAuthentication()
         for recipient in self.recipients:
             self.headers.addRawHeader('Recipient', utf8String(recipient.cuaddr))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20091120/1169c5fb/attachment-0001.html>


More information about the calendarserver-changes mailing list