[Zope3-Users] Re: lack of security declaration: bug or feature?

Lorenzo Gil Sanchez lgs at sicem.biz
Mon Nov 5 06:35:49 EST 2007


El vie, 02-11-2007 a las 22:32 +0100, Philipp von Weitersehausen escribió:

> I think OrderedContainer is a base class for your own container types. I 
> don't see a problem if it doesn't have security declarations.
> 

I understand. Thanks for the aclaration.

> By the way, you probably want to split up your security declarations 
> into read and write...
> 
Oh, that's true indeed. It's a shame IOrderedContainer is defined as
inheriting from IContainer because I can't declare a permission for the
updateOrder method in an independent way. Something like: I want Public
permission for reading an ordered folder and I want ManageContent
permission for writing *and* changing the folder order.

Thanks for your answers Philipp!

Best regards,

Lorenzo



More information about the Zope3-users mailing list