[Zope] Help using ClassSecurityInfo...

Dieter Maurer dieter@handshake.de
Tue, 2 Jul 2002 21:17:50 +0200


Paolo Galati writes:
 > ...
 > In my product i use the sintax below:
 > 
 > ---------------------------------------------
 > class my_class(Implicit, Persistent, RoleManager, Item):
 >   meta_type = 'my_type'
 >   security = ClassSecurityInfo()
 >   security.setPermissionDefault('my permission', ('role1, 'role2'))
 >   ...
 >   ...
 > 
 > Globals.InitializeClass(my_class)
 > ---------------------------------------------
 > 
 > when i first instance the product the permission specified in
 > setPermissionDefault are not set at all.
There was an error in Zope's "setPermissionDefault" (--> mailing list archives).



Dieter