From 921926acf58a59801f782dd6fe19182a259b98b7 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Sat, 26 Dec 2009 00:14:34 +1300 Subject: [PATCH] Add support for the DAV::acl-restrictions property. --- inc/DAVResource.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/inc/DAVResource.php b/inc/DAVResource.php index 0d4bad08..a502a4ca 100644 --- a/inc/DAVResource.php +++ b/inc/DAVResource.php @@ -1013,6 +1013,10 @@ EOQRY; $reply->NSElement($prop, $tag, $locale ); break; + case 'DAV::acl-restrictions': + $reply->NSElement($prop, $tag, array( new XMLElement('grant-only'), new XMLElement('no-invert') ) ); + break; + case 'DAV::owner': // After a careful reading of RFC3744 we see that this must be the principal-URL of the owner $reply->DAVElement( $prop, 'owner', $reply->href( $this->principal_url() ) );