Commit cfefd8bf authored by Jean-Paul Smets's avatar Jean-Paul Smets

Marshall actions

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25717 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4022d865
......@@ -74,7 +74,12 @@ class IntrospectionTool(BaseTool):
# restore original Security Manager
setSecurityManager(original_security_manager)
return erp5_menu_dict
# Unlazyfy URLs and other lazy values so that it can be marshalled
result = {}
for key, action_list in erp5_menu_dict.items():
result[key] = map(lambda action:dict(action), action_list)
return result
security.declareProtected('getModuleItemList', Permissions.AccessContentsInformation)
def getModuleItemList(self, user_name=_MARKER):
......
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