[Zope-dev] Request for amplification on new Product permissio ns API.

Brian Lloyd Brian@digicool.com
Mon, 24 Jul 2000 14:21:18 -0400


> > 
> > Are you calling:
> > 
> > Globals.default__class_init__(MyBasketClass)
> > 
> > on your Basket class? This is (poorly documented but)
> > necessary for permissions declared in __ac_permissions__
> > to be correctly initialized.
> 
> Should I have this in Squishdot too?
> 
> Chris

Yes - basically any class that defines *or inherits from a 
class that defines* permissions should do this to make sure 
that the permissions along the inheritance heirarchy are 
cobbled together correctly at class initialization time.


Brian Lloyd        brian@digicool.com
Software Engineer  540.371.6909              
Digital Creations  http://www.digicool.com