[CalendarServer-changes] [3745] CalendarServer/trunk/twistedcaldav/directory/calendar.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Feb 25 10:08:13 PST 2009


Revision: 3745
          http://trac.macosforge.org/projects/calendarserver/changeset/3745
Author:   wsanchez at apple.com
Date:     2009-02-25 10:08:13 -0800 (Wed, 25 Feb 2009)
Log Message:
-----------
Disallow COPY of a calendar collection

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/directory/calendar.py

Modified: CalendarServer/trunk/twistedcaldav/directory/calendar.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/calendar.py	2009-02-25 16:45:15 UTC (rev 3744)
+++ CalendarServer/trunk/twistedcaldav/directory/calendar.py	2009-02-25 18:08:13 UTC (rev 3745)
@@ -347,6 +347,9 @@
     def isCollection(self):
         return True
 
+    def http_COPY(self, request):
+        return responsecode.FORBIDDEN
+
     ##
     # ACL
     ##
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090225/9e9fd04d/attachment.html>


More information about the calendarserver-changes mailing list