Hi.....
Is their any mapping of Documentum permissions with cmis permissions.....like Read to cmis:read
Thanks...
please get it from section "ACL Mapping" of "documentum_cmis_67_reference.pdf". You can download the PDF from powerlink.
The short answer is:
Basic permissions (hierarchical)
CMIS Permission Documentum Permission
none none
browse browse
cmis:read read
relate relate
version version
cmis:write write
delete delete
Regards,
William
Thanks William for your quick reply
One more question... their is no permission in documentum that corresponds to cmis:all?
You are right. cmis:all is a virtural permission type and we map it to the aggregation of all documentum basic & extended permissions.
I have one user 'USER1' which is with "Basic Permission = Delete" and all Extended permissions (all check-boxes are checked).......but for this user 'USER1', I am getting cmis:write permission. According to your above statement it should be cmis:all not cmsi:write correct? Let me know your openion on this front.
Thanks.
Were you using SOAP API or REST API? SOAP API supports addACEs or removeACEs while REST API's PUT method does completely overwrite. In your case when all check-boxes are checked, you should add those ACEs in one call. It should be cmis:all.
You can capture the request/response on server side.
For SOAP binding, set following JVM options to start script:
set JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.xml.ws.transport.http.HttpAdapter.dump=true
For AtomPub binding, enable following logging filter in web.xml:
com.sun.jersey.api.container.filter.LoggingFilter
WIlliam
Hi,
Can you elaborate more on AtomPub binding...I am using DotCMIS to get acl info.
In the past, we found some CMIS clients not full compliant with CMIS spec
Here is a sample of AutomPub binding servlet configuration within web.xml.
<servlet> <servlet-name>JAX-RS</servlet-name> <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class> <init-param> <param-name>com.sun.jersey.config.feature.Redirect</param-name> <param-value>false</param-value> </init-param> <init-param> <param-name>javax.ws.rs.Application</param-name> <param-value> com.emc.documentum.fs.cmis.rs.impl.resource.CmisApplication </param-value> </init-param> <init-param> <param-name>com.sun.jersey.spi.container.ContainerRequestFilters</param-name> <param-value> com.sun.jersey.api.container.filter.LoggingFilter; com.sun.jersey.api.container.filter.PostReplaceFilter; com.emc.documentum.fs.cmis.rs.impl.provider.auth.HttpBasicAuthenticationFilter; com.emc.documentum.fs.cmis.rs.impl.provider.auth.ServiceContextFilter </param-value> </init-param> <init-param> <param-name>com.sun.jersey.spi.container.ContainerResponseFilters</param-name> <param-value> com.emc.documentum.fs.cmis.rs.impl.provider.ResponseEncodingFilter; com.emc.documentum.fs.cmis.rs.impl.provider.auth.ServiceContextFilter; com.emc.documentum.fs.cmis.rs.impl.provider.auth.HttpBasicAuthenticationFilter </param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet>
I did above mentioned steps.....but no use.....
Note: we are Document 6.6