Commit 470f43f3 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Missing imports. Small fixes.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25704 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cee6730f
......@@ -65,7 +65,7 @@ class IntrospectionTool(BaseTool):
downgrade_authenticated_user = user_name is not _MARKER and is_portal_manager
if downgrade_authenticated_user:
# downgrade to desired user
original_security_manager = _setSuperSecurityManager(self, erp5_user_name)
original_security_manager = _setSuperSecurityManager(self, user_name)
# call the method implementing it
erp5_menu_dict = getToolByName(portal, 'portal_actions').listFilteredActionsFor(portal)
......@@ -87,7 +87,7 @@ class IntrospectionTool(BaseTool):
downgrade_authenticated_user = user_name is not _MARKER and is_portal_manager
if downgrade_authenticated_user:
# downgrade to desired user
original_security_manager = _setSuperSecurityManager(self, erp5_user_name)
original_security_manager = _setSuperSecurityManager(self, user_name)
# call the method implementing it
erp5_module_list = portal.ERP5Site_getModuleItemList()
......
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