From 030d01a47c1d3a38c987710a1185d1b997bb2757 Mon Sep 17 00:00:00 2001 From: Tatuya Kamada <tatuya@nexedi.com> Date: Thu, 9 Apr 2009 05:02:41 +0000 Subject: [PATCH] Fix a misuse of the Zope Core Permissions. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26362 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5OOo/FormPrintout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5OOo/FormPrintout.py b/product/ERP5OOo/FormPrintout.py index 37001cdf36..61c0d51b4d 100644 --- a/product/ERP5OOo/FormPrintout.py +++ b/product/ERP5OOo/FormPrintout.py @@ -183,7 +183,7 @@ class FormPrintout(Implicit, Persistent, RoleManager, Item): 'inline;filename="%s%s"' % (self.title_or_id(), guess_extension(content_type))) return printout - security.declareProtected('View management screens', '__call__') + security.declareProtected('View', '__call__') def __call__(self, *args, **kwargs): return self.index_html(REQUEST=get_request()) -- 2.30.9