0

运行 Orbeon 4.2.0.201305301915-PE

我已经通过 FB 启用了基于表单的权限,并且对 PDF 和 View 进程有不同的行为。IE。具有查看权限的用户没有 PDF 权限。似乎 PDF 生成在不同的安全上下文下运行,因为如果我将读取添加到“任何人”,那么它就可以工作。此日志显示成功的查看操作:

2013-05-31 10:50:06,962 INFO  ProcessorService  - /xforms-server - Received request
2013-05-31 10:50:06,985 INFO  ProcessorService  - /xforms-server - Timing: 23
2013-05-31 10:50:07,113 INFO  ProcessorService  - /xforms-server-submit - Received request
2013-05-31 10:50:07,119 INFO  ProcessorService  - /xforms-server-submit - Timing: 6
2013-05-31 10:50:07,131 INFO  ProcessorService  - /fr/parkers/test/view/b4a1a6b9e8a497e54d005e8731a68f51b7262718 - Received request
2013-05-31 10:50:07,144 INFO  ProcessorService  - /fr/service/persistence/crud/parkers/test/form/form.xhtml - Received request
2013-05-31 10:50:07,151 INFO  ProcessorService  - /fr/service/exist/crud/parkers/test/form/form.xhtml - Received request
2013-05-31 10:50:07,166 INFO  ProcessorService  - /fr/service/persistence/crud/parkers/test/form/form.xhtml - Timing: 22
2013-05-31 10:50:07,174 INFO  ProcessorService  - /fr/service/exist/crud/parkers/test/form/form.xhtml - Timing: 23
2013-05-31 10:50:07,236 INFO  ProcessorService  - /fr/parkers/test/view/b4a1a6b9e8a497e54d005e8731a68f51b7262718 - Received request
2013-05-31 10:50:07,244 INFO  ProcessorService  - /fr/service/exist/crud/parkers/test/data/b4a1a6b9e8a497e54d005e8731a68f51b7262718/data.xml - Received request
2013-05-31 10:50:07,259 INFO  ProcessorService  - /fr/service/exist/crud/parkers/test/data/b4a1a6b9e8a497e54d005e8731a68f51b7262718/data.xml - Timing: 15
2013-05-31 10:50:07,260 INFO  ProcessorService  - /fr/service/persistence/crud/parkers/test/data/b4a1a6b9e8a497e54d005e8731a68f51b7262718/data.xml - Timing: 24
2013-05-31 10:50:07,278 WARN  XFormsServer  - xxf:instance() - instance not found {instance id: "fb-variables"}
2013-05-31 10:50:07,287 WARN  XFormsServer  - instance() - instance not found {instance id: "error-summary-control-bottom$fr-errors-instance"}
2013-05-31 10:50:07,337 INFO  ProcessorService  - /fr/parkers/test/view/b4a1a6b9e8a497e54d005e8731a68f51b7262718 - Timing: 206

随后是不成功的 PDF 生成:

2013-05-31 10:50:12,908 INFO  ProcessorService  - /fr/parkers/test/pdf/b4a1a6b9e8a497e54d005e8731a68f51b7262718 - Received request
2013-05-31 10:50:12,921 INFO  ProcessorService  - /fr/service/persistence/crud/parkers/test/form/form.xhtml - Received request
2013-05-31 10:50:12,930 INFO  ProcessorService  - /fr/service/exist/crud/parkers/test/form/form.xhtml - Received request
2013-05-31 10:50:12,950 INFO  ProcessorService  - /fr/service/exist/crud/parkers/test/form/form.xhtml - Timing: 20
2013-05-31 10:50:12,959 INFO  ProcessorService  - /fr/service/persistence/crud/parkers/test/form/form.xhtml - Timing: 38
2013-05-31 10:50:12,997 INFO  PageFlowControllerProcessor  - unauthorized {controller: "oxf:/apps/fr/page-flow.xml", method: "GET", path: "/fr/parkers/test/pdf/b4a1a6b9e8a497e54d005e8731a68f51b7262718", status-code: "403"}
2013-05-31 10:50:13,003 INFO  ProcessorService  - /fr/parkers/test/pdf/b4a1a6b9e8a497e54d005e8731a68f51b7262718 - Timing: 95
2013-05-31 10:50:13,021 INFO  ProcessorService  - /xforms-server - Received request
2013-05-31 10:50:13,048 INFO  ProcessorService  - /xforms-server - Timing: 26
4

1 回答 1

0

我无法重现您描述的问题。我创建了一个具有以下权限的表单:

允许

然后以具有角色的用户身份登录a,进入表单的新页面,保存,以 group 中的用户身份加载摘要页面,b在摘要页面上看到以下内容:

在此处输入图像描述

在那里,两个按钮(ReviewPDF)都可以正常工作,如果我进入查看页面,然后单击PDF按钮,它也可以正常工作。如果您正在执行其他步骤,请随时更新您的问题并对此答案发表评论。

于 2013-06-03T05:06:35.943 回答