Commit 4bd0d059 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Fix a security declaration for manage_download.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4703 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9e503816
...@@ -230,7 +230,7 @@ class TemplateTool (BaseTool): ...@@ -230,7 +230,7 @@ class TemplateTool (BaseTool):
tar.close() tar.close()
return bt return bt
security.declareProtected( Permissions.ManagePortal, 'download' ) security.declareProtected( Permissions.ManagePortal, 'manage_download' )
def manage_download(self, url, id=None, REQUEST=None): def manage_download(self, url, id=None, REQUEST=None):
"""The management interface for download. """The management interface for download.
""" """
......
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