Commit 030d01a4 authored by Tatuya Kamada's avatar Tatuya Kamada

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
parent 6bc5a653
...@@ -183,7 +183,7 @@ class FormPrintout(Implicit, Persistent, RoleManager, Item): ...@@ -183,7 +183,7 @@ class FormPrintout(Implicit, Persistent, RoleManager, Item):
'inline;filename="%s%s"' % (self.title_or_id(), guess_extension(content_type))) 'inline;filename="%s%s"' % (self.title_or_id(), guess_extension(content_type)))
return printout return printout
security.declareProtected('View management screens', '__call__') security.declareProtected('View', '__call__')
def __call__(self, *args, **kwargs): def __call__(self, *args, **kwargs):
return self.index_html(REQUEST=get_request()) return self.index_html(REQUEST=get_request())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment