Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E9222200BE2 for ; Thu, 15 Dec 2016 18:19:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E7B4B160B15; Thu, 15 Dec 2016 17:19:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3A9C1160B13 for ; Thu, 15 Dec 2016 18:19:04 +0100 (CET) Received: (qmail 33618 invoked by uid 500); 15 Dec 2016 17:18:58 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 33540 invoked by uid 99); 15 Dec 2016 17:18:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Dec 2016 17:18:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6C4AA2C03E2 for ; Thu, 15 Dec 2016 17:18:58 +0000 (UTC) Date: Thu, 15 Dec 2016 17:18:58 +0000 (UTC) From: =?utf-8?Q?Florian_M=C3=BCller_=28JIRA=29?= To: dev@chemistry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CMIS-1005) CMIS PermissionDeniedException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 15 Dec 2016 17:19:05 -0000 [ https://issues.apache.org/jira/browse/CMIS-1005?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D15751= 918#comment-15751918 ]=20 Florian M=C3=BCller commented on CMIS-1005: -------------------------------------- SAP Mobile Documents requires cookies. [~jpotts]: How can cmislib be configured to support cookies? > CMIS PermissionDeniedException > ------------------------------ > > Key: CMIS-1005 > URL: https://issues.apache.org/jira/browse/CMIS-1005 > Project: Chemistry > Issue Type: Task > Components: python-cmislib > Affects Versions: cmislib 0.5.1 > Environment: Trying to connect SAP mobile development=20 > I used this doca http://chemistry.apache.org/python/docs/ > Reporter: roman > Labels: beginner > Fix For: cmislib 0.5.1 > > > 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 method= s I get {code}cmislib.exceptions.PermissionDeniedException: Error 403{code} > code below > {code} > from cmislib import * > client =3D CmisClient('https://service/mcm/b/atom', 'user', 'pwd') > print client.getRepositories() > #REPO > #repo =3D client.defaultRepository > repo =3D client.getRepository('573f7fc4-2c76-49a2-b63c-d39e370edfde') > print repo.name > #FOLDER > rFolder =3D repo.rootFolder > print rFolder.id > #denied > #rFolder.getChildren() > #acl =3D rFolder.getACL() > #print rFolder.getName() > #newFolder =3D rFolder.createFolder('testfolder') > {code} > denied returns > {code} > cmislib.exceptions.PermissionDeniedException: Error 403 at https://url/mc= m/b/atom/573f7fc4-2c76-49a2-b63c-d39e370edfde/id?id=3D906f3ae3-a4c9-3210-72= 92-c840e0cff769&filter=3D&includeAllowableActions=3Dfalse&includeACL=3Dfals= e&includePolicyIds=3Dfalse&includeRelationships=3D&renditionFilter=3D > {code} > *the same error for default repo > {code} > #repo =3D client.defaultRepository > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)