From c7b5049c9e0bcaff313ebe0f3a6ac63eae8c6cfb Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Mon, 24 Sep 2007 13:37:02 +0000
Subject: [PATCH] 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
---
 product/ERP5Form/SelectionTool.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/product/ERP5Form/SelectionTool.py b/product/ERP5Form/SelectionTool.py
index 6dfcb55c48..3793c605af 100644
--- a/product/ERP5Form/SelectionTool.py
+++ b/product/ERP5Form/SelectionTool.py
@@ -1357,6 +1357,8 @@ class SelectionTool( BaseTool, UniqueObject, SimpleItem ):
 
     def _getUserId(self):
       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):
       user_id = self._getUserId()
-- 
2.30.9