Commit fedb04c0 authored by Nicolas Delaby's avatar Nicolas Delaby

declare Permission for getStorage

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27566 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e555e7f9
...@@ -138,6 +138,7 @@ class SelectionTool( BaseTool, UniqueObject, SimpleItem ): ...@@ -138,6 +138,7 @@ class SelectionTool( BaseTool, UniqueObject, SimpleItem ):
if RESPONSE is not None: if RESPONSE is not None:
RESPONSE.redirect('%s/manage_configure' % (self.absolute_url())) RESPONSE.redirect('%s/manage_configure' % (self.absolute_url()))
security.declareProtected( ERP5Permissions.ManagePortal, 'getStorage')
def getStorage(self, default=None): def getStorage(self, default=None):
"""return the selected storage """return the selected storage
""" """
......
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