Uploaded image for project: 'Chemistry'
  1. Chemistry
  2. CMIS-1005

CMIS PermissionDeniedException

    XMLWordPrintableJSON

Details

    Description

      I'm trying to get service(SAP mobile document) via .Chemistry

      In service web client i can create folder and add file.

      Via CMIS I can auth and get repo's list, but that's all. For other methods I get

      cmislib.exceptions.PermissionDeniedException: Error 403

      code below

      from cmislib import *
      
      client = CmisClient('https://service/mcm/b/atom', 'user', 'pwd')
      print client.getRepositories()
      
      #REPO
      #repo = client.defaultRepository
      repo = client.getRepository('573f7fc4-2c76-49a2-b63c-d39e370edfde')
      print repo.name
      
      #FOLDER
      rFolder = repo.rootFolder
      print rFolder.id
      
      #denied
      #rFolder.getChildren()
      #acl = rFolder.getACL()
      #print rFolder.getName()
      #newFolder = rFolder.createFolder('testfolder')
      
      

      denied returns

      cmislib.exceptions.PermissionDeniedException: Error 403 at https://url/mcm/b/atom/573f7fc4-2c76-49a2-b63c-d39e370edfde/id?id=906f3ae3-a4c9-3210-7292-c840e0cff769&filter=&includeAllowableActions=false&includeACL=false&includePolicyIds=false&includeRelationships=&renditionFilter=
      

      *the same error for default repo

      #repo = client.defaultRepository
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            Roka roman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: