From e01c95432dfbeed0b84736a14f17e3d2142a7f9e Mon Sep 17 00:00:00 2001 From: Erik Bruchez Date: Mon, 8 Aug 2022 14:48:13 -0700 Subject: [PATCH] For #5397: support checking new `list` permission --- .../jvm/src/main/resources/apps/fr/summary/view.xhtml | 6 ++++++ .../scala/org/orbeon/oxf/fr/permission/operations.scala | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/form-runner/jvm/src/main/resources/apps/fr/summary/view.xhtml b/form-runner/jvm/src/main/resources/apps/fr/summary/view.xhtml index 6328702409..7b65a46f0e 100644 --- a/form-runner/jvm/src/main/resources/apps/fr/summary/view.xhtml +++ b/form-runner/jvm/src/main/resources/apps/fr/summary/view.xhtml @@ -357,6 +357,12 @@ name="operations-from-role" value="frf:authorizedOperationsBasedOnRolesXPath($source-form-metadata/permissions)"/> + + frf:sendError(403) +