You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by Alexey Zavizionov <al...@gmail.com> on 2010/02/25 18:34:59 UTC
TCK AccessControlListTest.testDocumentAccessControlList There is
shouldn't be the ACCESS_CONTROL_LIST extension.
Hello, list!
I have the test fail for the our CMIS implementation. I guess that test is
incorrect. Does it?
=== AccessControlListTest.testDocumentAccessControlList ===
document = client.getEntry(objectByIdRequest);
Assert.assertNotNull(document);
childObject = document.getExtension(CMISConstants.OBJECT);
Assert.assertNotNull(childObject);
CMISAccessControlList objectAccessControlList =
childObject.getExtension(CMISConstants.ACCESS_CONTROL_LIST);
Assert.assertNotNull(objectAccessControlList);
=====================================================
SPEC says that:
2.2.1.2.5 ACLs
Description: Used to retrieve the ACLs for the object(s) described in the
service response.
Optional Input Parameter:
•
Boolean includeACL: If TRUE, then the Repository MUST return the
ACLs for each object in
the result set. Defaults to FALSE.
Regards,
Alexey.
RE: TCK AccessControlListTest.testDocumentAccessControlList There is shouldn't be the ACCESS_CONTROL_LIST extension.
Posted by David Ward <da...@alfresco.com>.
I don't think there is an issue. The test is passing includeACL=true to
get object by ID template.
-----Original Message-----
From: Alexey Zavizionov [mailto:alexey.zavizionov@gmail.com]
Sent: 26 February 2010 08:51
To: chemistry-dev@incubator.apache.org
Subject: Re: TCK AccessControlListTest.testDocumentAccessControlList There
is shouldn't be the ACCESS_CONTROL_LIST extension.
Here the issue https://issues.apache.org/jira/browse/CMIS-133
Regards,
Alexey.
On Thu, Feb 25, 2010 at 8:05 PM, David Caruana
<da...@alfresco.com>wrote:
> Seems like an issue. I'll take a look.
>
> Dave
>
> On 25 Feb 2010, at 17:34, Alexey Zavizionov wrote:
>
> > Hello, list!
> >
> > I have the test fail for the our CMIS implementation. I guess that
test
> is
> > incorrect. Does it?
> >
> > === AccessControlListTest.testDocumentAccessControlList ===
> > document = client.getEntry(objectByIdRequest);
> >
> > Assert.assertNotNull(document);
> > childObject = document.getExtension(CMISConstants.OBJECT);
> > Assert.assertNotNull(childObject);
> > CMISAccessControlList objectAccessControlList =
> > childObject.getExtension(CMISConstants.ACCESS_CONTROL_LIST);
> > Assert.assertNotNull(objectAccessControlList);
> > =====================================================
> >
> > SPEC says that:
> >
> > 2.2.1.2.5 ACLs
> > Description: Used to retrieve the ACLs for the object(s) described in
the
> > service response.
> > Optional Input Parameter:
> > .
> > Boolean includeACL: If TRUE, then the Repository MUST return
the
> > ACLs for each object in
> > the result set. Defaults to FALSE.
> >
> >
> > Regards,
> > Alexey.
>
>
Re: TCK AccessControlListTest.testDocumentAccessControlList There is
shouldn't be the ACCESS_CONTROL_LIST extension.
Posted by Alexey Zavizionov <al...@gmail.com>.
Here the issue https://issues.apache.org/jira/browse/CMIS-133
Regards,
Alexey.
On Thu, Feb 25, 2010 at 8:05 PM, David Caruana
<da...@alfresco.com>wrote:
> Seems like an issue. I'll take a look.
>
> Dave
>
> On 25 Feb 2010, at 17:34, Alexey Zavizionov wrote:
>
> > Hello, list!
> >
> > I have the test fail for the our CMIS implementation. I guess that test
> is
> > incorrect. Does it?
> >
> > === AccessControlListTest.testDocumentAccessControlList ===
> > document = client.getEntry(objectByIdRequest);
> >
> > Assert.assertNotNull(document);
> > childObject = document.getExtension(CMISConstants.OBJECT);
> > Assert.assertNotNull(childObject);
> > CMISAccessControlList objectAccessControlList =
> > childObject.getExtension(CMISConstants.ACCESS_CONTROL_LIST);
> > Assert.assertNotNull(objectAccessControlList);
> > =====================================================
> >
> > SPEC says that:
> >
> > 2.2.1.2.5 ACLs
> > Description: Used to retrieve the ACLs for the object(s) described in the
> > service response.
> > Optional Input Parameter:
> > •
> > Boolean includeACL: If TRUE, then the Repository MUST return the
> > ACLs for each object in
> > the result set. Defaults to FALSE.
> >
> >
> > Regards,
> > Alexey.
>
>
Re: TCK AccessControlListTest.testDocumentAccessControlList There is shouldn't be the ACCESS_CONTROL_LIST extension.
Posted by David Caruana <da...@alfresco.com>.
Seems like an issue. I'll take a look.
Dave
On 25 Feb 2010, at 17:34, Alexey Zavizionov wrote:
> Hello, list!
>
> I have the test fail for the our CMIS implementation. I guess that test is
> incorrect. Does it?
>
> === AccessControlListTest.testDocumentAccessControlList ===
> document = client.getEntry(objectByIdRequest);
>
> Assert.assertNotNull(document);
> childObject = document.getExtension(CMISConstants.OBJECT);
> Assert.assertNotNull(childObject);
> CMISAccessControlList objectAccessControlList =
> childObject.getExtension(CMISConstants.ACCESS_CONTROL_LIST);
> Assert.assertNotNull(objectAccessControlList);
> =====================================================
>
> SPEC says that:
>
> 2.2.1.2.5 ACLs
> Description: Used to retrieve the ACLs for the object(s) described in the
> service response.
> Optional Input Parameter:
> •
> Boolean includeACL: If TRUE, then the Repository MUST return the
> ACLs for each object in
> the result set. Defaults to FALSE.
>
>
> Regards,
> Alexey.