From 505fd6a644b042f9508df9832ca5aae1a2e884ca Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Mon, 19 Mar 2012 12:35:39 +0100 Subject: [PATCH] List the aggregation of privileges instead of only "all" --- radicale/xmlutils.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/radicale/xmlutils.py b/radicale/xmlutils.py index b0ae4fb..475e169 100644 --- a/radicale/xmlutils.py +++ b/radicale/xmlutils.py @@ -262,6 +262,10 @@ def _propfind_response(path, item, props, user): elif tag == _tag("D", "current-user-privilege-set"): privilege = ET.Element(_tag("D", "privilege")) privilege.append(ET.Element(_tag("D", "all"))) + privilege.append(ET.Element(_tag("D", "read"))) + privilege.append(ET.Element(_tag("D", "write"))) + privilege.append(ET.Element(_tag("D", "write-properties"))) + privilege.append(ET.Element(_tag("D", "write-content"))) element.append(privilege) elif tag == _tag("D", "supported-report-set"): for report_name in (