Change xmlutils propfind to return readonly calendars

This commit is contained in:
Hadley Rich
2015-06-04 11:23:01 +12:00
parent 519a40d714
commit 54d71355d1
2 changed files with 17 additions and 10 deletions

View File

@@ -542,9 +542,8 @@ class Application(object):
headers = {
"DAV": "1, 2, 3, calendar-access, addressbook, extended-mkcol",
"Content-Type": "text/xml"}
collections = set(read_collections + write_collections)
answer = xmlutils.propfind(
environ["PATH_INFO"], content, collections, user)
environ["PATH_INFO"], content, read_collections, write_collections, user)
return client.MULTI_STATUS, headers, answer
def proppatch(self, environ, read_collections, write_collections, content,