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

Added a comment for anonymous users of selection tool.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16576 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9fede5d3
...@@ -1357,6 +1357,8 @@ class SelectionTool( BaseTool, UniqueObject, SimpleItem ): ...@@ -1357,6 +1357,8 @@ class SelectionTool( BaseTool, UniqueObject, SimpleItem ):
def _getUserId(self): def _getUserId(self):
return self.portal_membership.getAuthenticatedMember().getUserName() return self.portal_membership.getAuthenticatedMember().getUserName()
# XXX It would be good to add somthing here
# So that 2 anonymous users do not share the same selection
def _getSelectionFromContainer(self, selection_name): def _getSelectionFromContainer(self, selection_name):
user_id = self._getUserId() user_id = self._getUserId()
......
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