[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/security/browser/auth.py Backed out the workaround. Trying harder to fix for real.

Shane Hathaway shane at zope.com
Wed Nov 24 12:03:17 EST 2004


Log message for revision 28497:
  Backed out the workaround.  Trying harder to fix for real.

Changed:
  U   Zope3/trunk/src/zope/app/security/browser/auth.py

-=-
Modified: Zope3/trunk/src/zope/app/security/browser/auth.py
===================================================================
--- Zope3/trunk/src/zope/app/security/browser/auth.py	2004-11-24 08:48:24 UTC (rev 28496)
+++ Zope3/trunk/src/zope/app/security/browser/auth.py	2004-11-24 17:03:16 UTC (rev 28497)
@@ -55,14 +55,6 @@
         if not (name+'.search' in self.request):
             return None
         searchstring = self.request[name+'.searchstring']
-        if isinstance(searchstring, list):
-            # Interpret as a string.
-            # XXX This is a workaround for the fact that
-            # SourceInputWidget generates a separate input field for
-            # each principal source, so when there are multiple
-            # sources, we get multiple fields that usually look
-            # exactly the same.  Something needs to be redesigned.
-            searchstring = ' '.join(searchstring).strip()
         return [principal.id
                 for principal in self.context.getPrincipals(searchstring)]
 



More information about the Zope3-Checkins mailing list