CMIS 权限拒绝异常
CMIS PermissionDeniedException
我正在尝试通过 CMIS 获取服务(SAP 移动文档)。
在服务网络客户端中,我可以创建文件夹和添加文件。
通过 CMIS 我可以授权并获取回购列表,但仅此而已。
对于其他方法,我得到 cmislib.exceptions.PermissionDeniedException: Error 403
我用过这个文档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')
拒绝了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=
*默认回购同样的错误
#repo = client.defaultRepository
我正在尝试通过 CMIS 获取服务(SAP 移动文档)。
在服务网络客户端中,我可以创建文件夹和添加文件。
通过 CMIS 我可以授权并获取回购列表,但仅此而已。
对于其他方法,我得到 cmislib.exceptions.PermissionDeniedException: Error 403
我用过这个文档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')
拒绝了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=
*默认回购同样的错误
#repo = client.defaultRepository