[Zope-dev] __ac_permissions__ confusion
Dyon Balding
dyon@adroitnet.com.au
Thu, 2 Mar 2000 12:59:42 +1100
On Wed, Mar 01, 2000 at 04:55:12PM -0800, Michel Pelletier wrote:
> > what am i missing?
>
> I bet you're missing this:
>
> Globals.default__class_init__(YourClass)
>
> In your module. Look for a similar thing in the ZCatalog.py module.
>
> default__class_init__ in a class initializtaion hook for
> ExtensionClasses. Without calling this, permissions do not get properly
> registered with the security system.
i put that in, but i'm still getting the same problem. i took it out, and
put in a print statement in the default__class_init__ and found that it's
called anyway without explicitly calling it.
any other ideas for debugging this?
-d
--
Adroit | Dyon Balding dyon@adroitnet.com.au
Internet | http://www.adroitnet.com.au/
Solutions | work: +613 98888522, mobile: +61 0414992604