Topic
1 reply Latest Post - ‏2012-09-04T18:55:28Z by TigerTrix
XQNX_clayton_bernardo
6 Posts
ACCEPTED ANSWER

Pinned topic cmis permission for user

‏2012-09-03T14:19:42Z |
I'm getting the following error using CMIS + Content Manager 8.4.3

Getting Started...
------------------
Found repository: lscmdes
Got a connection to repository: lscmdes, with id: $x!lscmdes
Found the following objects in the root folder:-

File and Folders...
-------------------
Exception in thread "main" org.apache.chemistry.opencmis.commons.exceptions.CmisObjectNotFoundException: Not Found
  • at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:432)*
  • at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.read(AbstractAtomPubService.java:554)*
  • at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.getTypeDefinitionInternal(AbstractAtomPubService.java:821)*
  • at org.apache.chemistry.opencmis.client.bindings.spi.atompub.RepositoryServiceImpl.getTypeDefinition(RepositoryServiceImpl.java:80)*
  • at org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getTypeDefinition(RepositoryServiceImpl.java:137)*
  • at org.apache.chemistry.opencmis.client.runtime.SessionImpl.getTypeDefinition(SessionImpl.java:508)*
  • at org.apache.chemistry.opencmis.client.runtime.repository.ObjectFactoryImpl.convertProperties(ObjectFactoryImpl.java:291)*
  • at org.apache.chemistry.opencmis.client.runtime.SessionImpl.createDocument(SessionImpl.java:716)*
  • at org.apache.chemistry.opencmis.client.runtime.FolderImpl.createDocument(FolderImpl.java:88)*
  • at org.apache.chemistry.opencmis.client.runtime.FolderImpl.createDocument(FolderImpl.java:443)*
  • at InsertDocument.main(InsertDocument.java:135)*
this error occours only when the user was configured as ClientUserAndDelete permissions
if I configure the user as ClientUserAllPrivs it works fine.

which permissions do I need to add to ClientUserAndDelete to enable user to store documents in Content Manager?

see attached file for futher information.
Updated on 2012-09-04T18:55:28Z at 2012-09-04T18:55:28Z by TigerTrix
  • TigerTrix
    TigerTrix
    38 Posts
    ACCEPTED ANSWER

    Re: cmis permission for user

    ‏2012-09-04T18:55:28Z  in response to XQNX_clayton_bernardo
    Please check the specific permissions listed in the documentation here:

    Permission Mapping
    http://publib.boulder.ibm.com/infocenter/cmgmt/v8r4m0/index.jsp?topic=%2Fcom.ibm.installingcmcmis.doc%2Fcmswd017.htm

    Document and Folder Permissions
    http://publib.boulder.ibm.com/infocenter/cmgmt/v8r4m0/index.jsp?topic=%2Fcom.ibm.installingcmcmis.doc%2Fqkrwd002.htm

    Configuring the ACLs, libraries, and item types for end users
    http://publib.boulder.ibm.com/infocenter/cmgmt/v8r4m0/index.jsp?topic=%2Fcom.ibm.installingcmcmis.doc%2Fqkrcf002.htm

    Very Simplistic Example
    http://publib.boulder.ibm.com/infocenter/cmgmt/v8r4m0/index.jsp?topic=%2Fcom.ibm.installingcmcmis.doc%2Fqkrcf065.htm