From 86cf0f0d3d822a291691edfc01ece7f9f66fa8e4 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Tue, 12 Apr 2016 10:19:49 +0200 Subject: [PATCH] PortalTransforms: fixup! Add more security declarations. --- product/PortalTransforms/TransformEngine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/PortalTransforms/TransformEngine.py b/product/PortalTransforms/TransformEngine.py index 990832ec70..b32bf9d6a7 100644 --- a/product/PortalTransforms/TransformEngine.py +++ b/product/PortalTransforms/TransformEngine.py @@ -574,7 +574,7 @@ class TransformTool(UniqueObject, ActionProviderBase, Folder): REQUEST['RESPONSE'].redirect(self.absolute_url() + '/manage_editTransformationPolicyForm') - security.declarePrivate('listPolicies') + security.declareProtected(View, 'listPolicies') def listPolicies(self): """ return the list of defined policies -- 2.30.9