From c76713ae1bef620a38843c192741a4f03f8cbeee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Mon, 28 Aug 2006 12:30:30 +0000 Subject: [PATCH] typo in security definition git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9500 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Form/PDFForm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Form/PDFForm.py b/product/ERP5Form/PDFForm.py index b18fc5a59c..2091b26e73 100644 --- a/product/ERP5Form/PDFForm.py +++ b/product/ERP5Form/PDFForm.py @@ -368,7 +368,7 @@ class PDFForm(File): """Return true if there is an enclosed PDF in this PDF Form.""" return self.data is not None and len(self.data) > 0 - security.declareProtected(Permissions.ManagePortal, 'downloadPDFContent') + security.declareProtected(Permissions.ManagePortal, 'downloadPdfContent') def downloadPdfContent(self, REQUEST=None) : """Download the pdf content from one of `download_url` URL """ for url in self.getProperty('download_url') : -- 2.30.9