[Zope-Checkins] CVS: Zope/lib/python/App - Management.py:1.55.16.1

Brian Lloyd brian@zope.com
Fri, 12 Apr 2002 14:24:09 -0400


Update of /cvs-repository/Zope/lib/python/App
In directory cvs.zope.org:/tmp/cvs-serv21676

Modified Files:
      Tag: Zope-2_5-branch
	Management.py 
Log Message:
Fixed bug #319.


=== Zope/lib/python/App/Management.py 1.55 => 1.55.16.1 ===
 from string import split, join, find
 from AccessControl import getSecurityManager, Unauthorized
+from AccessControl.SimpleObjectPolicies import _noroles
 
 class Tabs(ExtensionClass.Base):
     """Mix-in provides management folder tab support."""
@@ -55,7 +56,7 @@
             if o is None: continue
 
             try:
-                if validate(None, self, None, o, None):
+                if validate(None, self, None, o, _noroles):
                     result.append(d)
             except:
                 if not hasattr(o, '__roles__'):