[CalendarServer-changes] [634] CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/ directory/principal.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Dec 1 10:22:03 PST 2006


Revision: 634
          http://trac.macosforge.org/projects/calendarserver/changeset/634
Author:   wsanchez at apple.com
Date:     2006-12-01 10:22:03 -0800 (Fri, 01 Dec 2006)

Log Message:
-----------
Remove defaultAccessControlList() pulled up from CalendarPrincipalFile; PermissionsMixIn has the right implementation for us.

Modified Paths:
--------------
    CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/directory/principal.py

Modified: CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/directory/principal.py
===================================================================
--- CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/directory/principal.py	2006-12-01 18:17:41 UTC (rev 633)
+++ CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/directory/principal.py	2006-12-01 18:22:03 UTC (rev 634)
@@ -306,16 +306,6 @@
     def principalCollections(self):
         return self._parent.principalCollections()
 
-    def defaultAccessControlList(self):
-        return davxml.ACL(
-            # DAV:read access for this principal only.
-            davxml.ACE(
-                davxml.Principal(davxml.HRef(self.principalURL())),
-                davxml.Grant(davxml.Privilege(davxml.Read())),
-                davxml.Protected(),
-            ),
-        )
-
     ##
     # CalDAV
     ##

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061201/42136c2a/attachment.html


More information about the calendarserver-changes mailing list