Commit 3f650fad authored by matt@zope.com's avatar matt@zope.com

Change a case where security management is called with keyword args with

unspecified defaults for other positions (curiously, which should
fail with Python -- evidently I dont fully grok something [MTK]);
should enable C acclerated access control to work again.
parent e248291c
...@@ -85,9 +85,9 @@ ...@@ -85,9 +85,9 @@
"""Standard management interface support """Standard management interface support
$Id: Management.py,v 1.51 2001/10/19 15:12:25 shane Exp $""" $Id: Management.py,v 1.52 2001/10/27 13:02:44 matt Exp $"""
__version__='$Revision: 1.51 $'[11:-2] __version__='$Revision: 1.52 $'[11:-2]
import sys, Globals, ExtensionClass, urllib import sys, Globals, ExtensionClass, urllib
from Dialogs import MessageDialog from Dialogs import MessageDialog
...@@ -127,7 +127,7 @@ class Tabs(ExtensionClass.Base): ...@@ -127,7 +127,7 @@ class Tabs(ExtensionClass.Base):
if o is None: continue if o is None: continue
try: try:
if validate(container=self, value=o): if validate(None, self, None, o, None):
result.append(d) result.append(d)
except: except:
if not hasattr(o, '__roles__'): if not hasattr(o, '__roles__'):
......
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