[Erp5-report] r25821 - /erp5/trunk/products/ERP5/Tool/IntrospectionTool.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Mar 3 13:36:45 CET 2009
Author: jerome
Date: Tue Mar 3 13:36:45 2009
New Revision: 25821
URL: http://svn.erp5.org?rev=25821&view=rev
Log:
fix security declarations
Modified:
erp5/trunk/products/ERP5/Tool/IntrospectionTool.py
Modified: erp5/trunk/products/ERP5/Tool/IntrospectionTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Tool/IntrospectionTool.py?rev=25821&r1=25820&r2=25821&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Tool/IntrospectionTool.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Tool/IntrospectionTool.py [utf8] Tue Mar 3 13:36:45 2009
@@ -54,7 +54,8 @@
security.declareProtected(Permissions.ManagePortal, 'manage_overview')
manage_overview = DTMLFile('explainIntrospectionTool', _dtmldir )
- security.declareProtected('getFilteredActionDict', Permissions.AccessContentsInformation)
+ security.declareProtected(Permissions.AccessContentsInformation,
+ 'getFilteredActionDict')
def getFilteredActionDict(self, user_name=_MARKER):
"""
Returns menu items for a given user
@@ -81,7 +82,8 @@
return result
- security.declareProtected('getModuleItemList', Permissions.AccessContentsInformation)
+ security.declareProtected(Permissions.AccessContentsInformation,
+ 'getModuleItemList')
def getModuleItemList(self, user_name=_MARKER):
"""
Returns menu items for a given user
More information about the Erp5-report
mailing list