From 5a8defd6fc6eb8aeeead8d8b6fb31d9eed55a207 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Tue, 27 Feb 2007 02:36:49 +0000 Subject: [PATCH] fix a typo in security declaration. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13064 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Tool/ContributionTool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/Tool/ContributionTool.py b/product/ERP5/Tool/ContributionTool.py index b493d74a47..71f8336db6 100644 --- a/product/ERP5/Tool/ContributionTool.py +++ b/product/ERP5/Tool/ContributionTool.py @@ -213,7 +213,7 @@ class ContributionTool(BaseTool): document.reindexObject() return document - security.declareProtected( Permissions.AddPortalContent, 'fromXML' ) + security.declareProtected( Permissions.AddPortalContent, 'newXML' ) def newXML(self, xml): """ Create a new content based on XML data. This is intended for contributing -- 2.30.9