Commit 62ccd707 authored by Jérome Perrin's avatar Jérome Perrin

fix security declarations


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25821 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 46b63181
...@@ -54,7 +54,8 @@ class IntrospectionTool(BaseTool): ...@@ -54,7 +54,8 @@ class IntrospectionTool(BaseTool):
security.declareProtected(Permissions.ManagePortal, 'manage_overview') security.declareProtected(Permissions.ManagePortal, 'manage_overview')
manage_overview = DTMLFile('explainIntrospectionTool', _dtmldir ) manage_overview = DTMLFile('explainIntrospectionTool', _dtmldir )
security.declareProtected('getFilteredActionDict', Permissions.AccessContentsInformation) security.declareProtected(Permissions.AccessContentsInformation,
'getFilteredActionDict')
def getFilteredActionDict(self, user_name=_MARKER): def getFilteredActionDict(self, user_name=_MARKER):
""" """
Returns menu items for a given user Returns menu items for a given user
...@@ -81,7 +82,8 @@ class IntrospectionTool(BaseTool): ...@@ -81,7 +82,8 @@ class IntrospectionTool(BaseTool):
return result return result
security.declareProtected('getModuleItemList', Permissions.AccessContentsInformation) security.declareProtected(Permissions.AccessContentsInformation,
'getModuleItemList')
def getModuleItemList(self, user_name=_MARKER): def getModuleItemList(self, user_name=_MARKER):
""" """
Returns menu items for a given user Returns menu items for a given user
......
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