[CalendarServer-changes] [5024] CalendarServer/branches/users/glyph/contacts-server-merge/ calendarserver/tap/carddav.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Feb 2 20:50:25 PST 2010


Revision: 5024
          http://trac.macosforge.org/projects/calendarserver/changeset/5024
Author:   glyph at apple.com
Date:     2010-02-02 20:50:25 -0800 (Tue, 02 Feb 2010)
Log Message:
-----------
Use correct SACL service name

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/contacts-server-merge/calendarserver/tap/carddav.py

Modified: CalendarServer/branches/users/glyph/contacts-server-merge/calendarserver/tap/carddav.py
===================================================================
--- CalendarServer/branches/users/glyph/contacts-server-merge/calendarserver/tap/carddav.py	2010-02-03 04:48:30 UTC (rev 5023)
+++ CalendarServer/branches/users/glyph/contacts-server-merge/calendarserver/tap/carddav.py	2010-02-03 04:50:25 UTC (rev 5024)
@@ -43,9 +43,20 @@
 except ImportError:
     NegotiateCredentialFactory = None
 
-from calendarserver.provision.root import RootResource
+from calendarserver.provision.root import _ParentRootResource
 
 
+
+class RootResource (_ParentRootResource):
+    """
+    A special root resource that contains support checking SACLs
+    as well as adding responseFilters.
+    """
+
+    saclService = "addressbook"
+
+
+
 class CardDAVServiceMaker (CalDAVServiceMaker):
     implements(IPlugin, IServiceMaker)
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100202/68ee1642/attachment.html>


More information about the calendarserver-changes mailing list