CMIS PermissionDeniedException



我正在尝试通过CMI获取服务(SAP移动文档)。

在服务Web客户端中,我可以创建文件夹并添加文件。

通过CMIS I可以验证并获取Repo的列表,仅此而已。对于其他方法,我得到cmislib.exceptions.PermissionDeniedException: Error 403

我使用了此doca http://chemistry.apache.org/python/docs/

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')

拒绝退货

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=

*默认存储库的同一错误

#repo = client.defaultRepository

SAP移动文档需要cookie。在客户端打开cookie,这些例外将消失。

请参阅http://help.sap.com/saphelp_mdocs10/helpdata/en/0e/432781e/432781E0C646A09602A4AAB78677867734D/content.htmetent.htm 。plain.htm& node_id = 105如何进行身份验证。

最新更新