[caldav] About the expected outcome for “acl-principal-prop-set” element

George Jor <george.jor@ribose.com> Fri, 25 October 2013 07:00 UTC

Return-Path: <george.jor@ribose.com>
X-Original-To: caldav@ietfa.amsl.com
Delivered-To: caldav@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 289D511E82C9 for <caldav@ietfa.amsl.com>; Fri, 25 Oct 2013 00:00:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.298
X-Spam-Level:
X-Spam-Status: No, score=-2.298 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dVCXeeHsOfjy for <caldav@ietfa.amsl.com>; Fri, 25 Oct 2013 00:00:36 -0700 (PDT)
Received: from emea01-db3-obe.outbound.protection.outlook.com (mail-db3lp0084.outbound.protection.outlook.com [213.199.154.84]) by ietfa.amsl.com (Postfix) with ESMTP id 6200611E8140 for <caldav@ietf.org>; Fri, 25 Oct 2013 00:00:33 -0700 (PDT)
Received: from SINPR03MB121.apcprd03.prod.outlook.com (10.242.53.15) by SINPR03MB121.apcprd03.prod.outlook.com (10.242.53.15) with Microsoft SMTP Server (TLS) id 15.0.800.7; Fri, 25 Oct 2013 07:00:29 +0000
Received: from SINPR03MB121.apcprd03.prod.outlook.com ([169.254.14.223]) by SINPR03MB121.apcprd03.prod.outlook.com ([169.254.14.223]) with mapi id 15.00.0800.005; Fri, 25 Oct 2013 07:00:29 +0000
From: George Jor <george.jor@ribose.com>
To: "caldav@ietf.org" <caldav@ietf.org>
Thread-Topic: About the expected outcome for “acl-principal-prop-set” element
Thread-Index: AQHO0U/UIBXARNgGakyyCiJmf+l4VQ==
Date: Fri, 25 Oct 2013 07:00:28 +0000
Message-ID: <258d1a6ae0a640a99951d9af01a20810@SINPR03MB121.apcprd03.prod.outlook.com>
Accept-Language: zh-TW, en-US
Content-Language: zh-TW
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [203.198.150.195]
x-forefront-prvs: 0010D93EFE
x-forefront-antispam-report: SFV:NSPM; SFS:(53754006)(189002)(199002)(51164003)(41574002)(69226001)(15202345003)(46102001)(16236675002)(51856001)(53806001)(54356001)(59766001)(76176001)(63696002)(77982001)(76482001)(54316002)(56776001)(79102001)(65816001)(80022001)(47446002)(74366001)(74706001)(74502001)(74876001)(31966008)(81342001)(74662001)(74316001)(81542001)(83072001)(33646001)(76576001)(76796001)(76786001)(56816003)(77096001)(15975445006)(81686001)(4396001)(50986001)(49866001)(47976001)(47736001)(66066001)(83322001)(81816001)(19580395003)(85306002)(80976001)(24736002)(563064011); DIR:OUT; SFP:; SCL:1; SRVR:SINPR03MB121; H:SINPR03MB121.apcprd03.prod.outlook.com; CLIP:203.198.150.195; FPR:; RD:InfoNoRecords; MX:1; A:1; LANG:en;
Content-Type: multipart/alternative; boundary="_000_258d1a6ae0a640a99951d9af01a20810SINPR03MB121apcprd03pro_"
MIME-Version: 1.0
X-OriginatorOrg: ribose.com
Subject: [caldav] About the expected outcome for “acl-principal-prop-set” element
X-BeenThere: caldav@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <caldav.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/caldav>, <mailto:caldav-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/caldav>
List-Post: <mailto:caldav@ietf.org>
List-Help: <mailto:caldav-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/caldav>, <mailto:caldav-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 25 Oct 2013 07:00:42 -0000

Hi all,

My company and I are currently implementing some test cases about ACL Reports, but it is hard for us to render proper response that meets the expected outcome of the test cases.

Here is the request body:
<?xml version="1.0" encoding="utf-8" ?>
<D:acl-principal-prop-set xmlns:D="DAV:">
<D:prop>
<D:displayname/>
</D:prop>
</D:acl-principal-prop-set>

But what is expect to get according to the test case is the following:
                  <test name='6' ignore='no'>
<description>Valid report</description>
<request print-response='no'>
<method>REPORT</method>
<ruri>$calendarpath1:/</ruri>
<data>
<content-type>text/xml; charset=utf-8</content-type>
<filepath>Resource/CalDAV/aclreports/1.xml</filepath>
</data>
<verify>
<callback>multistatusItems</callback>
<arg>
<name>prefix</name>
<value></value>
</arg>
<arg>
<name>okhrefs</name>
<value>$principaluri1:</value>
<value>$principaluri1:calendar-proxy-read/</value>
<value>$principaluri1:calendar-proxy-write/</value>
<value>$principaluri_admin:</value>
</arg>
</verify>
</request>
</test>

According to the RFC 3744's example, the expected outcome should be:

<?xml version="1.0" encoding="utf-8" ?>
   <D:multistatus xmlns:D="DAV:">
     <D:response>
       <D:href>http://www.example.com/people/gstein</D:href>
       <D:propstat>
         <D:prop>
           <D:displayname>Greg Stein</D:displayname>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
       </D:propstat>
     </D:response>
     <D:response>
       <D:href>http://www.example.com/groups/authors</D:href>
       <D:propstat>
         <D:prop>
           <D:displayname>Site authors</D:displayname>
         </D:prop>
         <D:status>HTTP/1.1 200 OK</D:status>
       </D:propstat>
     </D:response>
   </D:multistatus>

But when i insert the following params to displayname tag:

"/principals/user/1/"

"/principals/user/1/calendar-proxy-read/"

"/principals/user/admin/"
"/principals/user/1/calendar-proxy-write/"

the case still cannot pass. Please help!

Thanks!



Best,

George Jor

Ribose Inc.


+=========================================================+

This message may contain confidential and/or privileged

information.  If you are not the addressee or authorized to

receive this for the addressee, you must not use, copy,

disclose or take any action based on this message or any

information herein.  If you have received this message in

error, please advise the sender immediately by reply e-mail

and delete this message.  Thank you for your cooperation.

+=========================================================+