[Erp5-report] r26362 - /erp5/trunk/products/ERP5OOo/FormPrintout.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Apr 9 07:02:42 CEST 2009
Author: tatuya
Date: Thu Apr 9 07:02:41 2009
New Revision: 26362
URL: http://svn.erp5.org?rev=26362&view=rev
Log:
Fix a misuse of the Zope Core Permissions.
Modified:
erp5/trunk/products/ERP5OOo/FormPrintout.py
Modified: erp5/trunk/products/ERP5OOo/FormPrintout.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/FormPrintout.py?rev=26362&r1=26361&r2=26362&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/FormPrintout.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/FormPrintout.py [utf8] Thu Apr 9 07:02:41 2009
@@ -183,7 +183,7 @@
'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())
More information about the Erp5-report
mailing list