OPSI.web2.dav.acl module

WebDAV ACL resources.

class OPSI.web2.dav.acl.DAVPrincipalResource

Bases: OPSI.web2.dav.resource.DAVLeafResource

Resource representing a WebDAV principal. (RFC 3744, section 2)

alternateURIs()

See L{IDAVPrincipalResource.alternateURIs}.

This implementation returns C{()}. Subclasses should override this method to provide alternate URIs for this resource if appropriate.

davComplianceClasses()
findChildren(depth)
groupMembers()

See L{IDAVPrincipalResource.groupMembers}.

This implementation returns C{()}, which is appropriate for non-group principals. Subclasses should override this method to provide member URLs for this resource if appropriate.

groupMemberships()

See L{IDAVPrincipalResource.groupMemberships}.

This implementation raises L{NotImplementedError}. Subclasses must override this method to provide the group URLs for this resource.

isCollection()
liveProperties = (('DAV:', 'resourcetype'), ('DAV:', 'getetag'), ('DAV:', 'getcontenttype'), ('DAV:', 'getcontentlength'), ('DAV:', 'getlastmodified'), ('DAV:', 'creationdate'), ('DAV:', 'displayname'), ('DAV:', 'supportedlock'), ('DAV:', 'acl-restrictions'), ('http://twistedmatrix.com/xml_namespace/dav/', 'resource-class'), ('DAV:', 'alternate-uri-set'), ('DAV:', 'principal-url'), ('DAV:', 'group-member-set'), ('DAV:', 'group-membership'))
principalURL()

See L{IDAVPrincipalResource.principalURL}.

This implementation raises L{NotImplementedError}. Subclasses must override this method to provide the principal URL for this resource.

readProperty(property, request)