[Zope] Re: VerboseSecurity error - Resolved (sort of)

Small Business Services toolkit at magma.ca
Wed Jun 2 09:20:40 EDT 2004


From: "Small Business Services" <toolkit at magma.ca>
> I have installed VerboseSecurity and when I try to access my data folder
> (the one with 'View' permission set to 'Authenticated') I get the
following
> zope error:
>
> Error Type: TypeError
> Error Value: issubclass() arg 2 must be a class

Running VerboseSecurity under zope 2.6.1, python 2.1.3 requires the
following change in PermissionRolePatch.py:

Change:       if issubclass(t, StringType) or issubclass(t, UnicodeType):
To:               if isinstance(t, StringType) or isinstance(t,
UnicodeType):

I don't know if this is a good/bad fix but at least VerboseSecurity works.








More information about the Zope mailing list